Learn R Programming

hsdar (version 0.4.1)

PROSPECT: Simulate plant spectrum

Description

Simulate plant spectrum using PROSPECT 5. The inversion uses the concept after Feret et al. (2008).

Usage

PROSPECT(N = 1.5, Cab = 40, Car = 8, Cbrown = 0.0, 
         Cw = 0.01, Cm = 0.009, transmittance = FALSE,
         parameterList = NULL)
## Inversion
PROSPECTinvert(x, P0 = NULL, transmittance_spectra = NULL, 
               sam = FALSE, ...)

Arguments

N
Structure parameter
Cab
Chlorophyll content
Car
Carotenoid content
Cbrown
Brown pigment content
Cw
Equivalent water thickness
Cm
Dry matter content
transmittance
Logical flag, if transmittance instead of reflectance values are returned.
parameterList
An optional object of class 'data.frame'. Function will iterate over rows of parameterList setting missing entries to default values. See examples section.
x, transmittance_spectra
Speclib(s) containing the reflectance/transmittance values to be simulated during inversion of PROSPECT.
P0
Initial set of parameters (N, Cab etc.).
sam
Logical if spectral angle mapper is used as distance measurement. If FALSE, the root mean square error is used. Note that this flag has only an effect if no transmittance spectra are passed.
...
Parameters passed to nelder_mead from the pracma-package

Value

  • An object of class Speclib.

Details

This function uses the FORTRAN code of PROSPECT model (Version 5). For a general introduction see following web page and the links to articles provided there:

http://teledetection.ipgp.jussieu.fr/prosail/

The following table summarises the abbreviations of parameters and gives their units as used in PROSPECT. Please note that default values of all parameters were included with the intention to provide an easy access to the model and should be used with care in any scientific approach! lll{ Parameter Description of parameter Units N Leaf structure parameter NA Cab Chlorophyll a+b concentration $\mu$g/cm$^2$ Car Carotenoid concentration $\mu$g/cm$^2$ Cw Equivalent water thickness cm Cbrown Brown pigment NA Cm Dry matter content g/cm$^2$ }

The inversion uses the function nelder_mead from the pracma-package and implements the Matlab-Code developed by Feret et al. (2008).

References

Jacquemoud, S. and Baret, F. (1990). PROSPECT: A model of leaf optical properties spectra, Remote Sensing of Environment 34: 75 - 91.

Feret J.B., Francois C., Asner G.P., Gitelson A.A., Martin R.E., Bidel L.P.R., Ustin S.L., le Maire G., & Jacquemoud S. (2008), PROSPECT-4 and 5: advances in the leaf optical properties model separating photosynthetic pigments. Remote Sensing of Environment, 112, 3030-3043.

See Also

PROSAIL, nelder_mead, Speclib

Examples

Run this code
## Single spectrum
spectrum <- PROSPECT(N = 1.3, Cab = 30, Car = 10, Cbrown = 0, 
                     Cw = 0.01, Cm = 0.01)
plot(spectrum)

## Example using parameterList
## Test effect of leaf structure and chlorophyll content on 
## spectra
parameter <- data.frame(N = c(rep.int(seq(0.5, 1.5, 0.5), 2)),
                        Cab = c(rep.int(40, 3), rep.int(20, 3)))
spectra <- PROSPECT(parameterList = parameter)

## Print attributes table
attribute(spectra)

## Plot spectra for range from 400 to 800 nm
spectra <- spectra[,wavelength(spectra) >= 400 & 
                    wavelength(spectra) <= 800]

plot(subset(spectra, Cab == 20), col = "red", ylim = c(0, 0.5))
plot(subset(spectra, Cab == 40), col = "green", new = FALSE)

Run the code above in your browser using DataLab