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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[][]
mix(double[][] abundances)
Calculates the spectra for a set of abundances.double[][]
unmix(double[][] spectra)
Performs a linear spectral unmixing of a set of spectra.
-
-
-
Method Detail
-
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
-
-