- Introduced by
- Nirmal Keshava & John Mustard
- Year
- 2002
- Type
- Sub-pixel spectral decomposition algorithm
- Family
- Remote sensing
What does it do?
Hyperspectral unmixing decomposes the spectrum of each image pixel into a set of pure material spectra (endmembers) and their fractional abundances.
It is needed because a sensor pixel often covers more than one material, so conventional per-pixel classification cannot describe the sub-pixel composition. Keshava and Mustard (2002) present the linear mixing model as the key assumption that allows many established algorithms to be adapted to this problem.
The intuition behind the method
Imagine mixing paint colors: a bucket of brownish-green paint can be explained as a specific fraction of yellow, blue, and red. Each sensor pixel is that mixed bucket, and unmixing is the process of reverse-engineering how much of each pure color (material) went in. The algorithm first identifies the pure colors present in the scene, then estimates the recipe proportions for every pixel, allowing scientists to map material distributions at a finer spatial scale than the sensor's ground resolution.
History
Spectral unmixing developed from mixture analysis of multispectral data, and its use grew as hyperspectral sensing made far more spectral detail available per pixel. Keshava and Mustard (2002) reviewed this work and identified linear mixing as the key assumption that allows established algorithms to be adapted to unmixing. Their review also notes that it remains unclear whether linearity is sufficient for every application.
When to use it
Choose hyperspectral unmixing when the pixel footprint is larger than the scale at which the materials of interest vary, as with minerals, vegetation types or urban surfaces, and when the aim is material fractions rather than a single label per pixel. The linear mixture model suits surfaces where light interacts with one material before reaching the sensor. Do not rely on the linear model when mixing is intimate or multiple scattering is significant; nonlinear mixture models are more appropriate in those cases. If pixels are predominantly pure, hard per-pixel classification is simpler. Before applying the method, confirm the following assumptions: linear mixing with single-bounce light interaction, or at least that nonlinear effects are small; endmember spectra that remain consistent across the scene; near-pure pixels for each endmember; an adequate signal-to-noise ratio; calibrated, atmospherically corrected reflectance; and a chosen number of endmembers.
Limitations and considerations
- The linear mixture model fails when photons scatter among several materials before reaching the sensor, as in intimate mixtures or dense canopies.
- Endmember extraction depends on the scene containing near-pure pixels for each endmember; without them, the simplex vertices do not correspond to real materials.
- The number of endmembers p must be set or estimated, and the result is sensitive to that choice.
- Spectral variability of an endmember across the scene, caused by illumination, viewing geometry or phenology, violates the fixed-endmember assumption and can bias the abundance estimates.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Estimates sub-pixel material proportions, which hard per-pixel classifiers cannot provide.
- Endmember spectra are physical spectra that can be compared with spectral libraries, which makes the components interpretable.
- Once the endmembers are fixed, the abundances are a constrained least-squares problem solved independently for each pixel.
- The non-negativity and sum-to-one constraints encode physically motivated conditions, so the estimated abundances can be read as proportions.
Applications
- Mineral mapping and geological survey using airborne or spaceborne hyperspectral sensors.
- Vegetation and land-cover fraction estimation for ecological monitoring and agricultural management.
- Urban impervious-surface quantification for heat-island and runoff studies.
- Water-quality assessment through decomposition of aquatic constituents such as chlorophyll and suspended sediments.
- Planetary surface composition analysis from orbital hyperspectral instruments on Mars and the Moon.
How it works
How it works
Hyperspectral cubes contain many spectral bands that are strongly correlated. The data are projected onto a q-dimensional subspace spanned by the columns of U_q, which retains the main spectral variation and discards directions dominated by noise. Transforms such as Principal Component Analysis or the Minimum Noise Fraction are commonly used to obtain this subspace. The value of q is chosen by the analyst.
Formula
\mathbf{Y} \approx \mathbf{U}_q \mathbf{U}_q^{\top} \mathbf{Y}, \quad \mathbf{U}_q \in \mathbb{R}^{L \times q}Within the reduced subspace, the endmembers are estimated as the vertices of a simplex with large volume, as expressed by the objective vol(conv(E)). The objective is only well posed when the candidate endmembers are restricted to the data, for example to pixel vectors in the reduced subspace or to points within the convex hull of the data; without such a restriction the volume can grow without limit. N-FINDR is one commonly used algorithm that searches for such a simplex. The p recovered endmember vectors form the columns of E, which is then used in all subsequent abundance estimation.
Formula
\hat{\mathbf{E}} = \arg\max_{\mathbf{E}} \, \text{vol}(\text{conv}(\mathbf{E})), \quad \mathbf{E} = [\mathbf{e}_1, \ldots, \mathbf{e}_p] \in \mathbb{R}^{L \times p}Each pixel spectrum y is modelled as a linear combination of the endmembers, y = Ea + epsilon. The abundances are constrained to be non-negative, since a material cannot have a negative presence, and to sum to one, so that the fractions account for the whole pixel. A constrained least-squares solver estimates these abundances for each pixel independently.
Formula
\mathbf{y} = \mathbf{E}\mathbf{a} + \boldsymbol{\varepsilon}, \quad \text{s.t.} \; a_i \geq 0, \; \sum_{i=1}^{p} a_i = 1The fit of the model is measured by the squared Frobenius norm of the residual between the image Y and the product EA. With the endmember matrix E fixed, the abundance matrix A is chosen to minimise this loss under the non-negativity and sum-to-one constraints. The size of the residual is a direct check on how well the linear model explains the observed data.
Formula
\mathcal{L} = \|\mathbf{Y} - \mathbf{E}\mathbf{A}\|_F^2, \quad \hat{\mathbf{A}} = \arg\min_{\mathbf{A} \geq 0,\, \mathbf{1}^{\top}\mathbf{A}=\mathbf{1}} \mathcal{L}Common pitfalls
- Choosing too many or too few endmembers leads to underfitting, or to abundance maps dominated by spurious materials.
- Skipping dimensionality reduction keeps noise-dominated directions in the data, which distorts the simplex geometry used for endmember extraction.
- Enforcing the sum-to-one constraint on imagery that has not been fully atmospherically corrected forces the fractions to absorb signal that does not come from the surface materials, which can bias the abundances.
- Using laboratory or field library spectra as endmembers without accounting for sensor and atmospheric effects means the endmembers differ from the spectra the sensor records.
Frequently asked questions
What is the difference between hard classification and spectral unmixing?
Hard classification assigns each pixel to exactly one class, assuming the pixel is spectrally pure. Spectral unmixing instead estimates a continuous mixture of materials within each pixel, yielding fractional abundance maps. Unmixing is appropriate when sensor pixels are larger than the spatial scale of the materials, whereas hard classification suffices when pixels are predominantly pure.
Is the linear mixture model always valid?
Not necessarily. The linear model assumes that light interacts with one surface material before reaching the sensor. This is a working approximation that is often reasonable when the materials are spatially separated within the pixel, but linearity is not guaranteed for all surfaces. Keshava and Mustard (2002) note that it is still unclear whether linearity is sufficient in every application. When photons scatter among multiple materials before reaching the sensor (intimate or intra-pixel mixing, dense vegetation), nonlinear mixture models such as bilinear or radiative-transfer-based approaches should be considered.
How do I determine the number of endmembers?
Common strategies include the Virtual Dimensionality (VD) estimator based on Neyman-Pearson detection theory, information-theoretic criteria such as minimum description length, and scree-plot inspection of PCA eigenvalues. Analysts should also consult prior knowledge of the study scene, as statistical estimators can be sensitive to noise level and scene complexity.
Related methods
Sources
Keshava, N., & Mustard, J. F. (2002). Spectral unmixing. IEEE Signal Processing Magazine, 19(1), 44–57.
Open DOI reference