Skip to main content

Research Repository

Advanced Search

Spatial-spectral morphological mamba for hyperspectral image classification

Ahmad, Muhammad; Butt, Muhammad Hassaan Farooq; Khan, Adil Mehmood; Mazzara, Manuel; Distefano, Salvatore; Usama, Muhammad; Roy, Swalpa Kumar; Chanussot, Jocelyn; Hong, Danfeng

Authors

Muhammad Ahmad

Muhammad Hassaan Farooq Butt

Manuel Mazzara

Salvatore Distefano

Muhammad Usama

Swalpa Kumar Roy

Jocelyn Chanussot

Danfeng Hong



Abstract

Recent advancements in transformers, specifically self-attention mechanisms, have significantly improved hyperspectral image (HSI) classification. However, these models often have inefficiencies, as their computational complexity scales quadratically with sequence length. To address these challenges, we propose the morphological spatial mamba (SMM) and morphological spatial–spectral Mamba (SSMM) model (MorpMamba), which combines the strengths of morphological operations and the state space model framework, offering a more computationally efficient alternative to transformers. In MorpMamba, a novel token generation module first converts HSI patches into spatial–spectral tokens. These tokens are then processed through morphological operations such as erosion and dilation, utilizing depthwise separable convolutions to capture structural and shape information. A token enhancement module refines these features by dynamically adjusting the spatial and spectral tokens based on central HSI regions, ensuring effective feature fusion within each block. Subsequently, multi-head self-attention is applied to enrich the feature representations further, allowing the model to capture complex relationships and dependencies within the data. Finally, the enhanced tokens are fed into a state space module, which efficiently models the temporal evolution of the features for classification. Experimental results on widely used HSI datasets demonstrate that MorpMamba achieves superior parametric efficiency compared to traditional CNN and transformer models while maintaining high accuracy. The code will be made publicly available at https://github.com/mahmad000/MorpMamba.

Citation

Ahmad, M., Butt, M. H. F., Khan, A. M., Mazzara, M., Distefano, S., Usama, M., Roy, S. K., Chanussot, J., & Hong, D. (online). Spatial-spectral morphological mamba for hyperspectral image classification. Neurocomputing, Article 129995. https://doi.org/10.1016/j.neucom.2025.129995

Journal Article Type Article
Acceptance Date Mar 8, 2025
Online Publication Date Mar 19, 2025
Deposit Date Mar 20, 2025
Publicly Available Date Mar 20, 2026
Journal Neurocomputing
Print ISSN 0925-2312
Publisher Elsevier
Peer Reviewed Peer Reviewed
Article Number 129995
DOI https://doi.org/10.1016/j.neucom.2025.129995
Keywords Hyperspectral imaging; Morphological operations; Spatial morphological mamba (SMM); Spatial-spectral morphological mamba (SSMM); Hyperspectral image classification
Public URL https://hull-repository.worktribe.com/output/5086102
Additional Information This article is maintained by: Elsevier; Article Title: Spatial-spectral morphological mamba for hyperspectral image classification; Journal Title: Neurocomputing; CrossRef DOI link to publisher maintained version: https://doi.org/10.1016/j.neucom.2025.129995; Content Type: article; Copyright: © 2025 Published by Elsevier B.V.