public class UnconstrainedLSU extends Object implements SpectralUnmixing
Constructor and Description |
---|
UnconstrainedLSU(double[][] endmembers)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
getEndmembers()
Returns the endmembers.
|
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.
|
public UnconstrainedLSU(double[][] endmembers)
endmembers
- the endmembers, where
number of rows = number of spectral channels
number of cols = number of endmember spectrapublic double[][] getEndmembers()
public double[][] unmix(double[][] spectra)
SpectralUnmixing
unmix
in interface SpectralUnmixing
spectra
- the spectra, where
number of rows = number of spectral channels
number of cols = number of spectrapublic double[][] mix(double[][] abundances)
SpectralUnmixing
mix
in interface SpectralUnmixing
abundances
- the abundances, where
number of rows = number of endmembers
number of cols = number of spectraCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.