org.esa.beam.util.math
Class FullyConstrainedLSU
java.lang.Object
org.esa.beam.util.math.FullyConstrainedLSU
- All Implemented Interfaces:
- SpectralUnmixing
public class FullyConstrainedLSU
- extends Object
- implements SpectralUnmixing
Performs a fully constrained linear spectral unmixing, where all
abundances are non-negative and their sum is equal to unity.
- Since:
- 4.1
- Version:
- $Revision$ $Date$
- Author:
- Helmut Schiller (GKSS), Ralf Quast
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullyConstrainedLSU
public FullyConstrainedLSU(double[][] endmembers)
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
- 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
public double[][] mix(double[][] abundances)
- Description copied from interface:
SpectralUnmixing
- Calculates the spectra for a set of abundances.
- Specified by:
mix in interface SpectralUnmixing
- 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
Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.