Package org.esa.snap.core.util.math
Interface SpectralUnmixing
- All Known Implementing Classes:
ConstrainedLSU,FullyConstrainedLSU,UnconstrainedLSU
public interface SpectralUnmixing
Linear spectral unmixing interface.
-
Method Summary
-
Method Details
-
unmix
double[][] unmix(double[][] spectra) Performs a linear spectral unmixing of a set of spectra.- Parameters:
spectra- the spectra, where number of rows = number of spectral channels number of cols = number of spectra- Returns:
- the abundances, where number of rows = number of endmembers number of cols = number of spectra
-
mix
double[][] mix(double[][] abundances) Calculates the spectra for a set of abundances.- Parameters:
abundances- the abundances, where number of rows = number of endmembers number of cols = number of spectra- Returns:
- the resulting spectra, where number of rows = number of spectral channels number of cols = number of spectra
-