derivative_speclib: Derivation

Description

Calculate derivations of spectra

Usage

1
derivative.speclib(x, m = 1, method = "sgolay", ...)

Arguments

x

Object of class Speclib.

m

Return the m-th derivative of the spectra.

method

Character string giving the method to be used. Valid options are "finApprox" or "sgolay".

...

Further arguments passed to sgolayfilt.

Details

Two different methods are available:

Value

Object of class Speclib.

Author(s)

Lukas Lehnert

References

Tsai, F. & Philpot, W. (1998): Derivative analysis of hyperspectral data. Remote Sensing of Environment 66/1. 41-51.

See Also

sgolayfilt, vegindex

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
data(spectral_data)

## Calculate 1st derivation
d1 <- derivative.speclib(spectral_data)

## Calculate 2nd derivation
d2 <- derivative.speclib(spectral_data, m = 2)

## Calculate 3rd derivation
d3 <- derivative.speclib(spectral_data, m = 3)

par(mfrow=c(2,2))
plot(spectral_data)
plot(d1)
plot(d2)
plot(d3)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.