Computer Vision AI in Engineering AI in Climate Change

Hyperspectral Unmixing

Hyperspectral unmixing is the problem of recovering the pure spectral signatures (endmembers) and their fractional abundances from pixel-level hyperspectral measurements. Our lab studies principled, mathematically-grounded methods that combine physics-aware models, statistical inference, and modern machine learning to improve accuracy, interpretability, and robustness of unmixing in realistic scenarios (illumination changes, topography, intimate mixtures, noise, and nonlinear mixing).


Motivation & importance

Hyperspectral sensors measure reflectance (or radiance) in hundreds of narrow spectral bands. Because of limited spatial resolution and sub-pixel heterogeneity, each measured spectrum is typically a mixture of several materials. Accurate unmixing enables:

  • Material identification and mapping (mineralogy, vegetation species, urban materials).
  • Quantitative retrievals for environmental monitoring, precision agriculture, and planetary science.
  • Downstream tasks such as classification, anomaly detection, and physics-based parameter estimation.

Understanding and modelling the mixing process is therefore essential for converting high-dimensional spectral data into actionable, quantitative information.


Problem statement (mathematical)

Let x∈RL\mathbf{x}\in\mathbb{R}^L denote the observed spectrum at one pixel (L spectral bands). Under the widely-used Linear Mixing Model (LMM):

x=M a+n,\mathbf{x} = \mathbf{M}\,\mathbf{a} + \mathbf{n},

where

  • M=[m1,m2,…,mp]∈RL×p\mathbf{M} = [\mathbf{m}_1, \mathbf{m}_2, \dots, \mathbf{m}_p] \in \mathbb{R}^{L\times p} is the matrix of pp endmember spectra,
  • a∈Rp \mathbf{a}\in\mathbb{R}^p is the abundance vector for that pixel,
  • n \mathbf{n} is additive noise.

Physically meaningful constraints are often imposed:

ai≥0∀i,∑i=1pai=1(optional, depending on normalization).a_i \ge 0\quad\forall i,\qquad \sum_{i=1}^p a_i = 1 \quad\text{(optional, depending on normalization).}

Typical inverse tasks:

  1. Endmember extraction — estimate M\mathbf{M} from the hyperspectral image (unsupervised) or from a library (semi-/supervised).
  2. Abundance estimation — solve for a\mathbf{a} given x\mathbf{x} and M\mathbf{M}.

A common formulation for abundance estimation is constrained least squares:

min⁡a ∥x−Ma∥22s.t.a≥0, 1⊤a=1.\min_{\mathbf{a}} \ \| \mathbf{x} - \mathbf{M}\mathbf{a}\|_2^2 \quad\text{s.t.}\quad \mathbf{a}\ge 0,\ \mathbf{1}^\top\mathbf{a}=1.

We also study nonlinear mixing (e.g., intimate mixtures, multiple scattering), where models become

x=f(M,a)+n,\mathbf{x} = f(\mathbf{M},\mathbf{a}) + \mathbf{n},

and ff is a nonlinear operator—requiring more sophisticated inversion strategies.


Approaches & algorithms we develop

Our research spans theory, algorithms, and applications. Representative areas include:

  • Geometric/convex methods – exploit simplex geometry of LMM (e.g., pure-pixel assumptions, convex geometry) for endmember extraction and identifiability analysis.
  • Sparse and dictionary-based unmixing – represent spectra as sparse combinations from large spectral libraries; solve with sparse optimization (LASSO, constrained variants).
  • Statistical / Bayesian methods – hierarchical priors on endmembers and abundances, uncertainty quantification, and posterior inference (MCMC, variational inference).
  • Nonlinear modeling – physics-inspired nonlinear models (bilinear, intimate mixing, radiative-transfer-inspired) and kernel-based or neural-network surrogates for ff.
  • Deep learning methods – supervised and self-supervised architectures that learn endmember dictionaries, abundance estimation networks, or end-to-end inversion while respecting physical constraints (non-negativity, sum-to-one).
  • Spatial–spectral regularization – incorporate spatial smoothness and structure via Markov random fields, total variation, or graph-based priors to improve robustness.

We emphasize models that are interpretable and that provide uncertainty estimates, not black-box predictions.


Optimization & evaluation

Typical optimization tools we use include constrained quadratic programming, projected gradient methods, alternating optimization (for bilinear problems), convex relaxations, and proximal algorithms for nonsmooth regularizers. For probabilistic models we use MAP estimation, variational inference, and sampling.

Evaluation metrics commonly used in our work:

  • Spectral Angle Distance (SAD) between true and estimated endmembers.
  • Root Mean Square Error (RMSE) for abundance estimates.
  • Reconstruction error ∥x−M^a^∥2\|\mathbf{x} - \hat{\mathbf{M}}\hat{\mathbf{a}}\|_2.
  • Task-driven metrics (classification accuracy, material detection ROC) when unmixing feeds downstream tasks.

Datasets & benchmarking (high-level)

We validate methods on a mixture of controlled synthetic scenes (where mixing physics can be simulated), laboratory measurements, and real airborne/satellite imagery. We place particular emphasis on testing across conditions that violate simple assumptions (nonlinearity, varying illumination, topography) to stress-test algorithms.


Open research directions we pursue

  • Identifiability under realistic physics: when and how can we uniquely recover endmembers and abundances when mixing is nonlinear or when pure pixels are absent?
  • Uncertainty-aware unmixing: principled quantification of confidence in endmember/abundance estimates.
  • Hybrid physics + learned models: combining radiative transfer models with data-driven components for improved generalization.
  • Scalable algorithms: distributed and streaming methods for very large hyperspectral datasets.
  • Domain adaptation: transferring models across sensors, viewing geometries, and illumination conditions.

Who should care

Our work is relevant to engineers, applied mathematicians, remote sensing scientists, and practitioners in agriculture, geology, environmental monitoring, and planetary science who need accurate material mapping and quantitative retrievals from hyperspectral imagery.


Get involved

If you are interested in contributing, collaborating, or applying these methods to new datasets or application domains, please contact the lab lead or the hyperspectral unmixing project team via the lab website (project page / contact form). We welcome students and collaborators from signal processing, optimization, statistics, and machine learning backgrounds.


Publications

11 papers from this project

2026

  1. A Controlled Benchmark of Visual State-Space Backbones with Domain-Shift and Boundary Analysis for Remote-Sensing Segmentation (opens in a new tab)

    Nichula Wasalathilaka, Dineth Perera, Oshadha Samarakoon, Buddhi Wijenayake, Roshan Godaliyadda, Vijitha Herath, Parakrama Ekanayake

    The International Geoscience and Remote Sensing Symposium (IGARSS) 2026

    Conference Accepted DOI 10.48550/arXiv.2604.18721
  2. Mamba-FCS: Joint Spatio-Frequency Feature Fusion, Change-Guided Attention, and SeK Inspired Loss for Enhanced Semantic Change Detection in Remote Sensing (opens in a new tab)

    Buddhi Wijenayake, Athulya Ratnayake, Praveen Sumanasekara, Roshan Godaliyadda, Parakrama Ekanayake, Vijitha Herath, Nichula Wasalathilaka

    IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing

    Journal Accepted DOI 10.1109/JSTARS.2026.3663066
  3. MambaRefine-CD: MambaVision with Region-Boundary Temporal Refinement

    Dineth Perera, Oshadha Samarakoon, Thariq Firdous, Roshan Godaliyadda, Vijitha Herath, Parakrama Ekanayake

    Moratuwa Engineering Research Conference 2026

    Conference Accepted
  4. Mitigating Long-Tail Bias via Prompt-Controlled Diffusion Augmentation (opens in a new tab)

    Buddhi Wijenayake, Nichula Wasalathilake, Roshan Godaliyadda, Vijitha Herath, Parakrama Ekanayake, Vishal M Patel

    The International Geoscience and Remote Sensing Symposium (IGARSS) 2026

    Conference Accepted DOI 10.48550/arXiv.2602.04749
  5. Preprocessing Algorithm Leveraging Geometric Modeling for Scale Correction in Hyperspectral Images for Improved Unmixing Performance (opens in a new tab)

    Praveen Sumanasekara, Athulya Ratnayake, Buddhi Wijenayake, Keshawa Ratnayake, Roshan Godaliyadda, Parakrama Ekanayake, Vijitha Herath

    IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing

    Journal Accepted DOI 10.1109/JSTARS.2026.3687834

2025

  1. Enhanced scannet with cbam and dice loss for semantic change detection (opens in a new tab)

    RMAMB Ratnayake, WMBSK Wijenayake, DMUP Sumanasekara, GMRI Godaliyadda, HMVR Herath, MPB Ekanayake

    Moratuwa Engineering Research Conference 2025

    Conference Accepted DOI 10.1109/MERCon67903.2025.11217111
  2. Hyperspectral unmixing with spatial context and endmember ensemble learning with attention mechanism (opens in a new tab)

    RMKL Ratnayake, DMUP Sumanasekara, HMKD Wickramathilaka, GMRI Godaliyadda, HMVR Herath, MPB Ekanayake

    ISPRS Open Journal of Photogrammetry and Remote Sensing

    Journal Accepted DOI 10.1016/j.ophoto.2025.100086
  3. Precision Spatio-Temporal Feature Fusion for Robust Remote Sensing Change Detection (opens in a new tab)

    Buddhi Wijenayake, Athulya Ratnayake, Praveen Sumanasekara, Nichula Wasalathilaka, Mathivathanan Piratheepan, Roshan Godaliyadda, Mervyn Ekanayake, Vijitha Herath

    International Conference on Industrial and Information Systems 2025

    Conference Accepted DOI 10.48550/arXiv.2507.11523

2024

  1. A Detailed Analysis of Datasets Used in HSI in the Context of Mixture Models for Unmixing (opens in a new tab)

    DMUP Sumanasekara, RMKL Ratnayake, HMKD Wickramathilaka, GMRI Godaliyadda, MPB Ekanayake, HMVR Herath

    Moratuwa Engineering Research Conference 2024

    Conference Accepted DOI 10.1109/MERCon63886.2024.10689093

2023

  1. Endmember Abundance Prediction in Hyperspectral Unmixing: The Impact of Endmember Extraction Algorithms and Self-Attention in Autoencoders (opens in a new tab)

    HMKD Wickramathilaka, RMKL Ratnayake, DMUP Sumanasekara, GMRI Godaliyadda, MPB Ekanayake, HMVR Herath

    International Conference on Industrial and Information Systems 2023

    Conference Accepted DOI 10.1109/ICIIS58898.2023.10253564
  2. GAUSS: Guided encoder-decoder Architecture for hyperspectral Unmixing with Spatial Smoothness (opens in a new tab)

    HMKD Wickramathilaka, D Fernando, D Jayasundara, D Wickramasinghe, DYL Ranasinghe, GMRI Godaliyadda, MPB Ekanayake, HMVR Herath, L Ramanayake, N Senarath, HMHK Weerasooriya

    European Journal of Remote Sensing

    Journal Accepted DOI 10.1080/22797254.2023.2277213
All publications