org.esa.beam.util.math
Class ConstrainedLSU
java.lang.Object
org.esa.beam.util.math.UnconstrainedLSU
org.esa.beam.util.math.ConstrainedLSU
- All Implemented Interfaces:
- SpectralUnmixing
public class ConstrainedLSU
- extends UnconstrainedLSU
Performs a constrained linear spectral unmixing, where the sum
of abundances always is equal to unity.
- Since:
- 4.1
- Version:
- $Revision$ $Date$
- Author:
- Ralf Quast, Helmut Schiller (GKSS)
|
Constructor Summary |
ConstrainedLSU(double[][] endmembers)
Constructs a new instance of this class. |
|
Method Summary |
double[][] |
unmix(double[][] spectra)
Performs a linear spectral unmixing of a set of spectra. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstrainedLSU
public ConstrainedLSU(double[][] endmembers)
- Constructs a new instance of this class.
- Parameters:
endmembers - the endmembers, where
number of rows = number of spectral channels
number of cols = number of endmember spectra
unmix
public double[][] unmix(double[][] spectra)
- Description copied from interface:
SpectralUnmixing
- Performs a linear spectral unmixing of a set of spectra.
- Specified by:
unmix in interface SpectralUnmixing- Overrides:
unmix in class UnconstrainedLSU
- 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
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.