Skip to Content
Remote SensingRemote Sensing
  • Article
  • Open Access

24 May 2026

23 Pages

Dimensionality Reduction with Classification for Hyperspectral Images Using Multi-Scale Spectral–Spatial Discriminative Model

and
Spectral Measurement and Detection Laboratory, Changchun University of Science and Technology, Changchun 130022, China
*
Author to whom correspondence should be addressed.

Highlights

What are the main findings?
  • A Multi-Scale Spectral Spatial Discriminative model (MS2D) is proposed, which decouples spatial structure and spectral variability through MSLRD and solves the problem in which spectral features in hyperspectral images are affected by spatial position changes.
  • Combined with superpixel aggregation, representative band selection and random singular value decomposition, the classification accuracy is better than that of the comparison model on three public datasets while significantly reducing computational complexity.
What are the implications of the main findings?
  • By decoupling the spatial–spectral coupling relationship, MS2D provides an efficient and deployable solution to the problem of spectral shift caused by changes in object positions.
  • Through MSLRD and optimization strategies, MS2D reduces the computational cost while ensuring classification accuracy, making hyperspectral image processing more deployable in practical applications.

Abstract

The spectral features in hyperspectral images are easily affected by the spatial position changes in objects. In this study, a Multi-Scale Spectral Spatial Discriminative model (MS2D) is proposed for the spectral feature changes caused by different positions. This model decomposes the original image into multi-scale low-rank components through multi-scale low-rank decomposition (MSLRD), which decouples the complex correlation between spatial structure and spectral variability. Considering the time complexity of MSLRD, we propose three optimization points: (1) using superpixel segmentation to gather pixels to form superpixels, so as to reduce the calculation of the number of pixels; (2) selecting the band with a large amount of information on the representative band of the input to reduce the cost of redundant bands; (3) replacing standard singular value decomposition (SVD) with random SVD to reduce computational complexity. After classification, the majority voting strategy is used to vote on the results to alleviate the discrimination conflict between features. The experimental results on three public datasets show that the performance of MS2D is better than that of the other models, which verifies that this model can control computational complexity and improve classification accuracy.

1. Introduction

With the development of technology, currently, a hyperspectral image (HSI) obtained by sensors usually records dozens to hundreds of spectral bands for each pixel in the image, thus having high spectral resolution. For example, SpectraTrack [1] has a spectral resolution of 1200 spectral channels, covering a spectral range of 400 to 1000 nm. These high-resolution sensors play a crucial role in improving the accuracy of distinguishing various types of land features. They also have a wide range of applications in precision agriculture [2], environmental monitoring [3] and mineral exploration [4].
Rich spectral bands provide a wealth of information for feature extraction. However, these bands are highly correlated. Given that the spectral reflectance changes of most land features are concentrated in a limited number of bands, not all bands contribute information to land feature classification. The high-dimensional characteristics of HSI pose challenges to data transmission and storage and contribute to the degradation of classifier performance [5]. Therefore, before classifying HSI, it is necessary to perform dimensionality reduction (DR) preprocessing on the images to alleviate this problem.
DR is a classic method for alleviating the above problems, aiming to simplify data by removing correlated and redundant measurement values in high-dimensional spectral space while preserving basic information in low-dimensional space. At present, HSI DR models are mainly divided into two categories: band selection [6] and feature extraction [7]. The limitation of band selection is that it can only be selected from existing bands. According to the usage of label information, existing research is mainly divided into supervised models [8], semi-supervised models [9], and unsupervised models [10]. Due to the difficulty in obtaining label samples and the low practicality of supervised and semi-supervised methods in actual scenes, unsupervised band selection methods have been widely studied. At present, most unsupervised methods are based on clustering [11], but these methods not only depend on the quality of clustering but also have problems, such as insufficient characterization of local features and parameter sensitivity. In contrast, feature extraction extracts more discriminative features from the original features through transformation. The main methods include the subspace projection method [12], the manifold learning method [13], and the deep learning method [14]. Among them, subspace projection methods include principal component analysis (PCA) [15], linear discriminant analysis (LDA) [16], and independent component analysis (ICA) [17]. Manifold learning methods mainly include local linear embedding (LLE) [18], neighborhood preserving embedding (NPE) [19], and local preserving projection (LPP) [20]. Deep learning methods include an automatic encoder (AE) [21] and the generation of a countermeasure network (GAN) [22].
The above feature extraction method aims to provide more discriminative feature representation for subsequent classification tasks. However, in the pixel-level HSI classification task, the high-dimensional spectral vector corresponding to each pixel is the main discrimination basis of the classifier. There is a general complex correspondence between spectral and spatial categories; the same ground object may present different spectral responses in different spatial locations, while different ground objects may show similar spectral curves. This phenomenon seriously restricts the classification performance based on spectral features. To alleviate the above problems, researchers promote classification by introducing the spatial features of images, for example, morphological contour (MP). However, MP has large classification errors in irregular terrain.
Cao [23] proposed a new joint sparse local linear discriminant analysis (JSLLDA) model, which forcibly maintains the nearest-neighbor relationship in the projection space of the nearest-neighbor sample in the original space through locally preserving regularization. This makes the feature space after DR better reflect the nonlinear manifold structure of the ground object distribution. For the edge regions with similar spectral characteristics but belonging to different features, the model can maintain a more detailed discrimination structure. However, this model captures the local geometry of the data by preserving regularization locally, which largely assumes that the data are distributed on a manifold. If hyperspectral data do not meet the linear structure locally, or the manifold assumption is untenable, the effectiveness of this model may be compromised. In addition, researchers [24] have proposed an HSI mixed-pixel decomposition model based on Fisher discriminant null space (FDNS) for feature extraction of changing spectra, but the zero-space technique amplifies noise in the data.
In recent years, deep learning-based models have been widely used across various applications. As a classical model, a three-dimensional convolutional neural network (3D-CNN) can extract deep spatial features, but it is limited by fixed receptive fields and is difficult to adapt to different scales of ground objects. Based on this, Chen [25] introduced the dual-scale complementary spatial–spectral joint classification model (DSCSM), which can simultaneously capture the local details and global structure of the image by designing a “dual scale” structure (combining the convolution of large and small windows). This design avoids the problem of “loss of detail” or “insufficient receptive field” under 3D-CNN. However, the double-scale structure means that the model’s parameters are usually much larger than those of the single-scale model, and the computational cost will increase sharply.
In view of the problem that 3D-CNN is difficult to adapt to different scales of ground objects due to its fixed receptive fields, subsequent researchers attempted to introduce the Transformer and Mamba framework, which breaks through the limitation of fixed receptive fields to a certain extent through dynamic global modeling and adaptive context awareness. For example, Guo [26] proposed the Convolutional Meets Transformer Network (CMTNet), which combines the local and global features of CNN and Transformer through a parallel two-branch architecture and performs well in HSI classification. Sun [27] proposed the HyperSMamba model, which achieves lightweight, efficient classification of HSI through multi-scale state fusion and an adaptive attention mechanism and demonstrates strong classification performance. However, in essence, such models still perform global correlation modeling at the feature level and fail to explicitly decouple from the root of spectral spatial coupling (the spectral variability between pixels in different spatial positions is essentially due to the scale heterogeneity of spatial structure). In addition, GNN methods (including HCoGCN and NESSGGCN [28,29]) identify the main challenge of HSI classification as the “representation of complex relationships in non-Euclidean spaces.” Therefore, they explicitly model the topological relationships between pixels by constructing graph or hypergraph structures and use graph convolutions to propagate neighborhood information to enhance feature representation, achieving good classification results.
In view of this situation, this study argues that the spectral variability between pixels at different spatial positions is essentially due to the scale heterogeneity of spatial structure. It is difficult to effectively decouple this coupling relationship by using single-scale spatial feature modeling. Therefore, we use Multi-Scale Low-Rank Decomposition (MSLRD) [30] to explicitly model the spatial structure of land cover units at different scales by decomposing the original HSI into low-rank components at multiple scales. On this basis, the spectral spatial coupling relationship is decoupled and reconstructed by fusing multi-level details. Admittedly, MSLRD can suppress the spectral changes caused by spatial differences from the root, but its time complexity is also very high O ( N , D 2 ) , where N is the number of pixels and D is the number of bands. To this end, this study identified three points for optimization. Firstly, we consider using superpixel segmentation [31] to aggregate pixels into superpixels to reduce the computational unit of MSLRD. At the same time, the homogeneous region formed by pixel aggregation can effectively suppress noise interference on spectral features. Secondly, another major contributor to the time complexity of MSLRD is the large number of bands in HSI; since most are redundant, only representative bands need to be selected. Existing representative band selection methods aim to retain the main structural information in the form of subsets. However, such methods tend to evaluate the contribution of each band in isolation, ignoring the inherent continuity and neighborhood structure of the spectral dimension and separating the context between bands [32]. With this in mind, we group similar bands together and then select representative bands from each group. Their order is not simply a random series. Since the time complexity of superpixel segmentation is independent of the number of bands, and the time complexity of selecting representative bands from the grouping depends on the number of pixels, it is more reasonable to put the steps of superpixel segmentation in front. Thirdly, we aim to reduce the computational complexity of MSLRD by replacing standard singular value decomposition (SVD) with random SVD.
After the above operations, HSI is classified at each independent scale. However, there may be conflicts between different levels of land features. We use the majority voting decision fusion strategy (MV) [33] to solve this problem. The strategy calculates the number of votes for each category across all scale classification results for each location and selects the category with the highest number of votes as the final result.
After analyzing and integrating the above content, we propose a multi-scale model to address spectral variability and name it the Multi-Scale Spatial–Spectral Discriminative (MS2D) model.
The contributions of the proposed model are as follows:
  • An efficient spatial–spectral preprocessing mechanism is constructed: By combining superpixel segmentation and representative band selection, the amount of data is greatly reduced while preserving the key spatial and spectral information. This mechanism effectively reduces the time complexity of subsequent complex calculations (such as MSLRD) and solves the problem of excessive computational overhead when low-rank decomposition is directly applied to high-dimensional data.
  • A multi-scale feature extraction model tailored to hyperspectral characteristics is proposed: MSLRD effectively separates and removes “discrepancy” components, such as illumination variations, through multi-scale decomposition, thereby extracting more discriminative spectral features and enhancing the model’s capability to handle large spectral variability.
  • The dual data combination of spatial and spectral dimensions is realized: The model not only uses superpixels to build a consistent neighborhood structure in the spatial dimension but also selects representative bands through high-similarity grouping in the spectral dimension. This dual-dimensional combination strategy of space and spectrum can minimize data redundancy while retaining the structural and spectral information of key features, laying a high-quality data foundation for subsequent feature extraction and classification.
The rest of this paper is organized as follows. The second part reviews and introduces the components involved in the MS2D model. The third part introduces the MS2D model, explains its correlation and the details of each component, and elaborates on its parameters and advantages compared to other DR models. The fourth and fifth parts introduce the experimental results, analysis, and discussion. Finally, Section 6 presents the concluding observations.

3. Methodology

Aiming at the problems of complex distribution of features and large spectral variability in HSI, we propose the MS2D model to improve the classification performance. Figure 4 shows the overall process of the model in the HSI classification task. Firstly, ERS is used to aggregate pixels with similar spectra in a local spatial neighborhood into pixel blocks, aiming to construct a consistent spatial neighborhood structure and reduce the randomness of pixel-level classification. Secondly, by grouping the bands of HSI and selecting their representative bands, the data redundancy is effectively reduced while retaining the key spectral information. It is worth noting that if MSLRD is used alone for low-rank decomposition, its time complexity is very high. The first two steps significantly reduce the number of pixels and bands by adjusting the hyperspectral data structure, thus significantly reducing the computational overhead of MSLRD. On this basis, the image is decomposed at multi-scales to separate and remove the “variability” components (such as illumination changes) in the image, so as to extract more discriminative intrinsic spectral features. Finally, the processed features are input into the classifier, and the classification results are voted on. By selecting the result with the highest number of votes as the final output, the robustness and accuracy of the classification results are further enhanced.
Figure 4. Overall framework of the MS2D model. The input image is sequentially processed by superpixel segmentation, band grouping, and multi-scale low-rank decomposition. After separating the low-rank common components, classification is performed, and, finally, the output is fused via majority voting.

3.1. MS2D Model

Let Y = { y 1 , y 2 , … , y D } ∈ R N × D be the HSI cube, where N is the number of pixels and D is the total number of bands. Because the number of pixels N of HSI is usually very large, if all pixels are directly used for calculation, the complexity of the model will increase significantly. To avoid this problem, we perform ERS on the image before MSLRD calculation (as shown in Equation (9)). By aggregating N pixels into S pixel blocks ( S < < N ), the model complexity will not increase significantly due to the excessive number of processed pixels in the subsequent MSLRD.
Y = ∪ i S y i , s . t . y i ∩ y j = ∅ , ( i ≠ j )
where S denotes the number of superpixels, and y i is the i -th superpixel.
After ERS, the influence of noise and nonuniformity in different regions of the image on the classification accuracy will also be reduced. At this time, HSI data Y = { y 1 , y 2 , … , y D } ∈ R N × D become Y = { y 1 , y 2 , … , y D } ∈ R S × D ( S < < N ) after ERS. In order to further reduce the computational complexity of MSLRD and consider the band redundancy of HSI, we only select the representative band as the next input. Data Y will be obtained Y = { y 1 , y 2 , … , y d } ∈ R S × d after band grouping and representative band selection (where D is the number of original bands, d is the number of representative bands, D > > d ).
Subsequently, considering the impact of spectral feature changes caused by different positions, we decompose the HSI Y into multiple low-rank X of different scales to extract low-rank features of different scales to eliminate these influences. The expression can be written as Equation (7). Since Equation (7) is the formula of MSLRD using standard SVD, its complexity is high. To reduce complexity, we use random SVD to replace standard SVD. After replacement, the mathematical expression of Equation (7) becomes Equation (10):
Y = ∑ l = 1 L X l , s . t . , X l = ∑ B l ∈ P l R b T ( B l ) , B l ≈ U ˜ b S ˜ b V ˜ b T
Random SVD is achieved via the following equation:
Q = o r t h ( B l Ω )
[ U ˜ k , S ˜ k , V ˜ k ] = s v d ( Q T B l )
where Ω is the random matrix, o r t h ( ) denotes orthogonalization, and SVD represents standard singular value decomposition.
After the operation, the hyperspectral image data become Y = { ( ∑ l = 1 L x l ) 1 , ( ∑ l = 1 L x l ) 2 , … , ( ∑ l = 1 L x l ) d } ∈ R S × d   ( d < < D , S < < N ) . At this point, the DR of HSI data is complete, and we send the data to the classification system. We use SVM classification on low-dimensional data after DR, and the classification results at different scales may be inconsistent. We use the MV strategy to vote for different categories and select the category with the highest number of votes to predict the final classification result.
In the MS2D model, the components are not simply connected in series. Specifically, ERS and representative band selection together constitute a preprocessing module, whose core function is to structurally simplify the original hyperspectral data from both spatial and spectral dimensions. ERS transforms the pixel-level classification problem into a homogeneous-region-level problem, while band grouping and representative band selection significantly reduce the data size of the spectral dimension by eliminating highly correlated, redundant bands. The combined effect of these two steps, on the one hand, reduces the amount of input data of subsequent MSLRD, making the original model with high computational complexity run efficiently with acceptable overhead; on the other hand, the optimized data are more consistent with the assumption of low-rank decomposition on the low-dimensional intrinsic structure of the data, which improves the accuracy and stability of the model to extract the intrinsic spectral features. On this basis, the discriminant features extracted by MSLRD further enhance the classifier’s discriminant ability across feature categories, and the final MV prevents potential conflicts across different levels of land features. The MS2D model achieves positive collaboration and functional complementarity among components through organic coupling, thereby improving the overall accuracy and robustness of hyperspectral image classification.

3.2. Parameters Involved in MS2D

In this section, we present the parameters of the MS2D model.
The parameter is the number of superpixels in the segmented image during superpixel segmentation. We choose to divide the image into {25, 35, 50, 70, 100, 140, 200, 280, 400} superpixel blocks. After comparison, we found that the Indian Pines, the WHU Hi HanChuan, and the WHU Hi LongKou datasets had the best classification accuracies at S of 100, 35, and 50, respectively.
In the process of band grouping, the parameter involved is the number of groups M . Based on experience, we choose the range of group numbers M as [15,20,25,30,35,40]. After testing, we found that the classification performance was best on the Indian Pines and the WHU Hi LongKou datasets when M = 30 and on the WHU Hi Han Chuan dataset when M = 35.
For the multi-scale numbers l in the MSLRD component, our selection range is [1,2,3,4,5,6,7,8,9]. After comparison, we found that the Indian Pines, the WHU Hi HanChuan, and the WHU Hi LongKou datasets had the best classification accuracy when l was 5, 6, and 4, respectively.

3.3. Differences Between the Proposed Model and Previous Models

Compared with other models, the MS2D model proposed in this study differs in three key aspects.
Firstly, in the processing of spectral differences, the single-scale denoising strategy finds it difficult to take into account the local details and global structure. However, the existing multi-scale models fail to reveal the essence of spectral differences. The proposed model explicitly decouples the source of spectral–spatial coupling to reveal the scale heterogeneity of its spatial structure.
Secondly, in terms of architectural design, most models use superpixel segmentation, band selection, low-rank decomposition, and other links as independent modules, and there is a lack of collaborative consideration among these modules. MS2D uses ERS and band selection as the pre-structure optimization module to provide simplified input data for subsequent MSLRD, which solves the problem of high computational complexity of MSLRD while ensuring decomposition.
Thirdly, in the classification decision-making mechanism, existing models often directly assign all pixels within a superpixel the same label, which makes it difficult to deal with mixed pixels and segmentation errors. MS2D enhances the robustness of the model to noise and segmentation errors through a voting mechanism.

4. Experimental Results

To verify the performance of the MS2D model, we conducted experiments across three datasets to compare its performance with other models. The overall accuracy (OA), average accuracy (AA), and kappa coefficient (kappa) are three quantitative indicators to measure the accuracy of each model. The higher the values of the three indicators, the better the classification results. The experiment was carried out on GeForce RTX 3090 (24 G) using Python 3.8. In each experiment, the dataset was randomly split into training and test sets.

4.1. Hyperspectral Datasets

Indian Pines dataset: AVIRIS collected the first dataset from northwestern India in 1992, which consists of 16 categories, with a spatial dimension of 145 × 145 and a pixel resolution of 20 m. The original dataset contains 224 spectral bands, with wavelengths ranging from 400 to 2500 nm. After removing the absorption band of water, 200 spectral bands are retained.
The WHU-Hi-HanChuan dataset [36] was acquired from 17:57 to 18:46 on 17 June 2016, in Hanchuan, Hubei province, China, with a 17 mm focal length Headwall Nano-Hyperspec imaging sensor equipped on a Leica Aibot X6 UAV V1 platform. The manufacturer is Headwall Photonics, Inc., located in Bolton, MA, USA. The UAV flies at an altitude of 250 m, the size of the imagery is 1217 × 303 pixels, there are 274 bands from 400 to 1000 nm, and the spatial resolution of the UAV-borne hyperspectral imagery is about 0.109 m.
The WHU-Hi-LongKou dataset [36] was acquired from 13:49 to 14:37 on 17 July 2018, in Longkou Town, Hubei province, China, with an 8 mm focal length Headwall Nano-Hyperspec imaging sensor equipped on a DJI Matrice 600 Pro (DJI M600 Pro) UAV platform. The manufacturer is Headwall Photonics, Inc., located in Bolton, MA, USA. The UAV flies at an altitude of 500 m, the size of the imagery is 550 × 400 pixels, there are 270 bands from 400 to 1000 nm, and the spatial resolution of the UAV-borne hyperspectral imagery is about 0.463 m.

4.2. Classification Results and Comparison with Other Models

4.2.1. Classification Maps and Categorized Results for the Indian Pines Dataset

To validate the performance of the MS2D model, we compared it with several recent models. We selected 10%, 2%, and 2% of training samples for each category from the Indian Pines, the WHU Hi HanChuan and the WHU Hi LongKou datasets to learn discriminative features. Their classification accuracy is shown in Table 1, Table 2 and Table 3, and the classification results are shown in Figure 5, Figure 6 and Figure 7.
Table 1. Classification accuracy of different models in the Indian Pines dataset.
Table 2. Classification accuracy of different models in the WHU Hi HanChuan dataset.
Table 3. Classification accuracy of different models in the WHU Hi LongKou dataset.
Figure 5. Classification maps of different methods on the Indian Pines dataset. (a) False-color image (R69,G27,B11), (b) ground truth, (c) baseline, (d) DSCSM, (e) JSLLDA, (f) CMTNet, (g) HyperSMamba, (h) MS2D.
Figure 6. Classification maps of different methods on the WHU-Hi-HanChuan dataset. (a) False-color image (R69,G27,B11), (b) ground truth, (c) baseline, (d) DSCSM, (e) JSLLDA, (f) CMTNet, (g) HyperSMamba, (h) MS2D.
Figure 7. Classification maps of different models on the WHU-Hi-LongKou dataset. (a) False-color image (R69,G27,B11), (b) ground truth, (c) baseline, (d) DSCSM, (e) JSLLDA, (f) CMTNet, (g) HyperSMamba, (h) MS2D.
Specifically, from Table 1, it can be seen that the proposed model achieves optimal values for the three indicators AA, OA, and Kappa coefficients of 97.9%, 97.6%, and 97.2%, respectively. Figure 5 shows the classification results of the Indian Pines dataset using various models. As shown in Figure 5, compared with these models, the proposed model shows fewer misclassifications in its classification results. T1 represents the training time, and T2 represents the inference time. The classification training time of the proposed model is substantially lower than that of the baseline model. Furthermore, compared with other models, the proposed model achieves a classification training time only slightly higher than that of HyperSMamba, specifically 47.5 s.
In fact, for the baseline model, it only uses MSLRD. DSCSM integrates spectral–spatial details more comprehensively based on a dual-channel parallel processing mechanism. However, there may be conflicts between the features extracted by the dual channels, resulting in the misclassification of classification results. The JSLLDA model can maintain a more detailed discriminant structure by forcibly preserving the nearest-neighbor relationship of the nearest-neighbor samples in the original space in the projection space. However, this model captures the local geometry of the data by locally preserving regularization, which largely assumes that the data are distributed on a manifold. If hyperspectral data do not meet the linear structure locally, or the manifold assumption is not tenable, the effectiveness of this model may be compromised. The Transformer-based CMTNet model and the Mamba-based HyperSMamba model have achieved good performance in classification but fail to adequately explain the essence of spectral differences. The MS2D model proposed in this study performs well under the same conditions and performs the best among the comparison models. This model integrates four complementary technologies to construct a collaborative framework for obtaining more discriminative features and more robust results.

4.2.2. Classification Maps and Categorized Results for the WHU Hi HanChuan Dataset

From Table 2, it can be seen that the proposed model achieved the highest classification accuracy across all subcategories except for Water spinach, Greens Plastic, Bright object, and Water. The proposed model achieved optimal values for all three indicators, except for the AA, OA, and Kappa coefficients, which were 98.6%, 98.8%, and 98.5%, respectively. The classification time of the proposed model is substantially lower than that of the baseline model. Furthermore, compared with other models, the proposed model achieves a classification time only slightly higher than that of HyperSMamba, specifically recorded as 175.8 s.
According to the comparison of classification maps on the WHU Hi HanChuan dataset shown in Figure 6, the baseline model (Figure 6c) exhibits obvious salt-and-pepper noise and misclassifications, resulting in a relatively coarse classification result. DSCSM (Figure 6d) and JSLLDA (Figure 6e) improve regional consistency to some extent but still suffer from the loss of boundary details. CMTNet (Figure 6f) and HyperSMamba (Figure 6g) further enhance classification accuracy, achieving greater homogeneity in large land cover areas and significantly reducing misclassification. MS2D (Figure 6h) produces results closest to the ground truth (Figure 6b), demonstrating the best performance in preserving object boundaries, suppressing noise, and identifying fine categories, highlighting its superiority in hyperspectral image classification.

4.2.3. Classification Maps and Categorized Results for the WHU Hi LongKou Dataset

From Table 3, the proposed model achieved optimal values for the three average indicators, AA, OA, and Kappa coefficients of 99.5%, 99.6%, and 99.5%, respectively. The classification time of the proposed model is substantially lower than that of the baseline model. Furthermore, compared with other models, the proposed model achieves a classification time only slightly higher than that of HyperSMamba, specifically 102.5 s.
According to the comparison of classification maps on the WHU Hi LongKou dataset shown in Figure 7, the baseline model (Figure 7c) exhibits obvious salt-and-pepper noise and misclassifications, resulting in a relatively coarse classification result. DSCSM (Figure 7d) and JSLLDA (Figure 7e) improve regional consistency to some extent but still suffer from the loss of boundary details. CMTNet (Figure 7f) and HyperSMamba (Figure 7g) further enhance classification accuracy, achieving greater homogeneity in large land cover areas and significantly reducing misclassification. MS2D (Figure 7h) produces results closest to the ground truth (Figure 7b), demonstrating the best performance in preserving object boundaries, suppressing noise, and identifying fine categories, highlighting its superiority in hyperspectral image classification.

4.3. Parameter Analysis

4.3.1. Influence of Different Training Samples on the Results

In order to analyze the impact of the selected training sample size on classification accuracy, this study uses different numbers of samples as the training samples. Specifically, 8%, 9%, 10%, 11%, and 12% of the Indian Pines data samples were used as training samples; 1.6%, 1.8%, 2%, 2.2%, and 2.4% of the WHU Hi HanChuan data samples were set as training samples; 1.6%, 1.8%, 2%, 2.2%, and 2.4% of the WHU Hi LongKou data samples were set as training samples. Through relevant experiments, this study obtained the relationship between different training sample sizes and classification accuracy, as shown in Figure 8. In Figure 8, we can see that the OA value of classification increases with the increase in the number of training samples. This indicates that as the number of labeled training samples increases, it can extract more discriminative information from the training samples.
Figure 8. The OA results of baseline, DSCSM, SLLDA, CMTNet, HyperSMamba and our proposed model with varying proportions of training samples on the (a) Indian Pines, (b) the WHU-Hi-HanChuan and (c) the WHU-Hi-LongKou.

4.3.2. Influence of Superpixel Segmentation Size on Classification Accuracy

In this section, we investigated the impact of the number of superpixels segmented on classification accuracy. Figure 9 shows the relationship between the classification OA values for the numbers of superpixels is {25, 35, 50, 70, 100, 140, 200, 280, 400}. In Figure 9, it can be seen that as the number of superpixels increases, the overall performance will first increase and then decrease. This indicates that selecting too many or too few superpixels can reduce classification performance. This is mainly because too many superpixels will result in a limited number of pixels per region, which cannot guarantee the stability and reliability of the results. However, too few superpixels will result in insufficient segmentation and introduce some samples from different uniform regions.
Figure 9. The classification accuracy of MS2D model under different numbers of superpixels. (a) Indian Pines; (b) the WHU Hi HanChuan; (c) the WHU Hi LongKou.

4.3.3. The Influence of Parameters in Band Selection on Classification Accuracy

In selecting representative bands, varying parameters can yield different final classification results. Therefore, in order to obtain the optimal classification results, we set different parameters in this section to discuss the impact of selecting different numbers of bands on the performance of the proposed model. For parameter M , the selection range is [15,20,25,30,35,40]. After testing (see Figure 10), it was found that the optimal parameters M for the WHU Hi HanChuan dataset were 35, while the optimal parameters M for the Indian Pines and the WHU Hi LongKou datasets were 30. This indicates that both too large and too small parameters can reduce the classification accuracy, as when the parameters are too large, data redundancy remains high, and noise cannot be effectively suppressed. When the parameters are too small, spectral information will be severely lost, resulting in a significant decrease in spectral resolution.
Figure 10. The classification accuracy of MS2D model under different grouping numbers.

4.3.4. Influence of Multi-Scale Numbers on Classification Accuracy

In order to evaluate the impact of different scale sizes on classification accuracy OA, this study presents the classification results of three datasets at different scales (as shown in Figure 11).
Figure 11. The classification accuracy of MS2D model under different scales. (a) Indian Pines; (b) the WHU Hi HanChuan; (c) the WHU Hi LongKou.
As shown in Figure 11, the optimal classification accuracy was achieved when the scale numbers for the Indian Pines, WHU Hi HanChuan, and WHU Hi HanChuan datasets were set to 5, 6, and 4, respectively. From these results, we observed that the improvement in the WHU Hi HanChuan image was more significant than the other two images. This is because the WHU Hi HanChuan image contains highly complex textures. This complexity limits the capture of these features by single-scale segmentation.

5. Discussion

5.1. Ablation Experiment

To verify the effectiveness of the model proposed in this study, ablation experiments are needed to validate the effectiveness of each stage in the proposed model. We will divide the proposed model into four stages. In the first stage, only MSLRD was used. In the second stage, superpixel segmentation components were added based on the first stage. In the third stage, components for band grouping and representative band selection were added based on the second stage. In the fourth stage, the MV strategy was added based on the third stage. It can be seen that each component at each stage increases the classification OA value, and in the fourth stage, OA reaches its highest value. This proves the effectiveness of each stage of the proposed model.
The classification accuracy (OA%) for the three sets of data is shown in Table 4.
Table 4. Classification accuracy (OA%) of MS2D on three datasets under different ablation settings.
Table 5 clearly demonstrates the contribution of each component in reducing the time required to consume. Superpixel segmentation significantly reduces the number of computational units by aggregating pixels into superpixels. Band selection further reduces the computational scale by compressing the spectral dimension. When combined, the final consumed time is greatly decreased, validating the synergistic effect of the optimized design on computational efficiency.
Table 5. The time consumed by each component model on the three datasets.

5.2. Time Complexity Analysis of Model

The time complexity of the MS2D model can be divided into four parts, contributed by superpixel segmentation, band grouping, representative band selection, MSLRD, and MV. Their time complexities are O ( N ) , O ( S D ) , O ( L S d ( K + P ) ) and O ( L S ) , respectively. Here, N represents the number of pixels, S the number of superpixels, D the number of original bands, d the number of selected representative bands ( N > > S , D > > d ), L the number of scales, and K and P the target rank and oversampling parameter of randomized SVD, respectively. The total time complexity of MS2D can be expressed as the sum of these four parts: O ( N ) + O ( S D ) + O ( L N d ( K + P ) ) + O ( L S ) . Among them, the last term contributes very little to the overall complexity and can be omitted. Therefore, the time complexity of the MS2D model can be approximated as O ( N ) + O ( S D ) + O ( L N d ( K + P ) ) , which is much lower than the complexity of the MSLRD model, O ( L N D 2 ) (where D > > d , N > > S , and B > > K + P ).

5.3. The Impact of Superpixel Segmentation on the Noise Resistance of MS2D Classification Models

Superpixel segmentation aggregates multiple similar pixels in an image into pixel blocks, where the internal pixel spectra are similar. Classifying based on pixel blocks can effectively smooth out noise, making the classification results more visually consistent with the actual distribution of land features. To evaluate the contribution of superpixel segmentation to the proposed model, we compared the MS2D model lacking superpixel segmentation with the complete MS2D model. To prove this point, we added Gaussian noise with a normalized standard deviation of σ = 0.1 to the original HSI and classified it using two models. Please refer to Table 6 for the classification results. In Table 6, we observed that the classification accuracies of the two models on Indian Pines data were 89.7% and 94.2%, respectively. The classification accuracies of the two models on the WHU Hi HanChuan dataset are 90.3% and 94.8%, respectively. The classification accuracies of the two models on the WHU Hi LongKou dataset are 93.5% and 96.2%, respectively. By comparison, superpixel segmentation can indeed reduce the impact of Gaussian noise on classification accuracy. The fundamental reason lies in its ability to reorganize images from disordered pixel grids into structured perceptual units, achieving the utilization of spatial information and improving stability.
Table 6. Comparison of classification accuracy of two models under noise.

5.4. The Impact of Different Classifiers on the Results

Due to the different algorithm principles and model assumptions of different classifiers, the classification results obtained by different classifiers for the same scene differ. In order to select a better classifier, this study also investigated the impact of different classifiers on classification results, as shown in Table 7. From Table 7, it can be seen that SVM improved the classification accuracy by 4.8% and 2.2% compared to the other two classifiers for the Indian Pines dataset. For the WHU Hi HanChuan dataset, SVM improved classification accuracy by 2.1% and 1.3% compared to the other two classifiers. For the WHU Hi LongKou dataset, SVM improved classification accuracy by 1.8% and 0.7% compared to the other two classifiers.
Table 7. The impact of different classifiers on the results.

5.5. Analysis

The core process of the MS2D model optimizes the input data via superpixel segmentation, band grouping, and representative band selection. Then, it extracts features in a multi-scale low-rank feature space. The effectiveness of this model is influenced by two factors: (1) the effectiveness of data optimization (determined by the discriminative information in the data input, which in this context refers to superpixel blocks and selected bands), and (2) the effectiveness of feature extraction (determined by the number of decomposition scales). Furthermore, the essence of multi-scale segmentation is to provide a scale-adaptive, structured description of images, and the segmentation results it generates offer richer structural information for subsequent image feature extraction. When processing HSI, the task of finding the optimal number of segmentation scales can be equivalently formulated as determining the sizes of homogeneous regions within the image.

5.6. Prospects, Limitations, and Future Work

The low-rank and sparse decomposition framework adopted by MS2D also shows potential for broader applications in HSI remote sensing tasks. For example, in HSI target detection, the sparse variation component can help identify anomalous targets that significantly deviate from the background spectral characteristics. In contrast, the low-rank background component can effectively model the global structure of land cover distribution. In HSI unmixing, the stable spectral features extracted from the low-rank component can provide high-quality inputs for endmember extraction, and the sparse component helps characterize local perturbations and nonlinear mixing effects in the abundance distribution. Future work could extend the core mechanism of MS2D to the above tasks to further validate its generalizability and transferability.
Although the MS2D model proposed in this study achieves good classification performance, several limitations remain to be addressed in future work. (1) The core assumption of MSLRD is that the spectral responses of the same land cover class share a low-rank commonality. This assumption may be challenged when intra-class variability is extremely high or when variation is systematic rather than sparse. In such cases, the boundary between the low-rank and sparse components becomes blurred, potentially affecting decomposition quality and classification accuracy. (2) As a preprocessing step, superpixel segmentation involves parameters such as scale and compactness, whose adaptability varies across different datasets. Currently, manual tuning is required to achieve optimal performance.
Future work can be carried out in the following directions:
(1) Develop adaptive superpixel segmentation strategies that dynamically adjust segmentation parameters based on local image statistics, thereby reducing reliance on manual experience. (2) Transfer the low-rank and sparse separation mechanism to other hyperspectral tasks, such as target detection and spectral unmixing, to further validate the generality and transferability of this framework. (3) Conduct tests on the QUH series of hyperspectral datasets to verify the generalizability of the model.

6. Conclusions

This study proposes a Multi-Scale Spatial–Spectral Discriminant (MS2D) model to suppress spectral variations caused by spatial differences and to optimize previous models, thereby reducing their complexity. First, superpixel segmentation is employed to aggregate pixels with similar spectral characteristics within local spatial neighborhoods into pixel blocks. Then, by grouping similar HSI data and selecting representative bands, data redundancy is effectively reduced while preserving key spectral information. On this basis, MSLRD is introduced to perform multi-scale decomposition of the image to separate and remove the “difference” components, thereby extracting more discriminative intrinsic spectral features. Finally, the processed features are fed into a classifier, and a voting mechanism is applied to the classification results, selecting the outcome with the highest vote count as the final output, further enhancing robustness and accuracy. Extensive experiments across three standard HSI datasets demonstrate that the proposed model outperforms existing comparative feature extraction models. Inheriting the advantages of multi-scale spatial–spectral discrimination, this model is well suited for areas with complex land cover types and diverse spatial distributions, such as precision agriculture.

Author Contributions

Conceptualization, T.W.; methodology, T.W.; software, T.W.; validation, T.W.; formal analysis, T.W.; investigation, T.W.; writing—original draft preparation, T.W.; writing—review and editing, T.W. and Y.T.; visualization, T.W.; supervision, Y.T.; funding acquisition, Y.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported in part by Jilin Province Science and Technology Development Project (20240402068GH). This work was supported by the Scientific research project of the Jilin Provincial Education Department (JJKH20230795KJ).

Data Availability Statement

The datasets analyzed during the current study are publicly available in the WHU-Hi repository at http://rsidea.whu.edu.cn/resource_WHUHi_sharing.htm (accessed on 1 May 2026).

Acknowledgments

The authors would like to thank all the professionals for kindly providing the codes associated with the experiments.

Conflicts of Interest

The authors declare no conflicts of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; nor in the decision to publish the results.

References

  1. Li, D.; Wu, J.; Zhao, J.; Xu, H.; Bian, L. SpectraTrack: Megapixel, hundred-fps, and thousand-channel hyperspectral imaging. Nat. Commun. 2024, 15, 9459. [Google Scholar] [CrossRef] [Scilit]
  2. Ram, B.G.; Oduor, P.; Igathinathane, C.; Howatt, K.; Sun, X. A systematic review of hyperspectral imaging in precision agriculture: Analysis of its current state and future prospects. Comput. Electron. Agric. 2024, 222, 109037. [Google Scholar] [CrossRef] [Scilit]
  3. Rajabi, R.; Zehtabian, A.; Singh, K.D.; Tabatabaeenejad, A.; Ghamisi, P.; Homayouni, S. Hyperspectral imaging in environmental monitoring and analysis. Front. Environ. Sci. 2024, 11, 1353447. [Google Scholar] [CrossRef] [Scilit]
  4. Hajaj, S.; El Harti, A.; Pour, A.B.; Jellouli, A.; Adiri, Z.; Hashim, M. A review on hyperspectral imagery application for lithological mapping and mineral prospecting: Machine learning techniques and future prospects. Remote Sens. Appl. Soc. Environ. 2024, 35, 101218. [Google Scholar] [CrossRef] [Scilit]
  5. Hughes, G. On the mean accuracy of statistical pattern recognizers. IEEE Trans. Inf. Theory 1968, 14, 55–63. [Google Scholar] [CrossRef] [Scilit]
  6. Taskin, G.; Yetkin, E.F.; Camps-Valls, G. A scalable unsupervised feature selection with orthogonal graph representation for hyperspectral images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5514913. [Google Scholar] [CrossRef] [Scilit]
  7. Lu, W.; Wang, X.; Sun, L.; Zheng, Y. Spectral–Spatial Feature Extraction for Hyperspectral Image Classification Using Enhanced Transformer with Large-Kernel Attention. Remote Sens. 2023, 16, 67. [Google Scholar] [CrossRef] [Scilit]
  8. Habermann, M.; Fremont, V.; Shiguemori, E.H. Supervised band selection in hyperspectral images using single-layer neural networks. Int. J. Remote Sens. 2019, 40, 3900–3926. [Google Scholar] [CrossRef] [Scilit]
  9. Li, G.; Yu, Z.; Yang, K.; Lin, M.; Chen, C.L.P. Exploring feature selection with limited labels: A comprehensive survey of semi-supervised and unsupervised approaches. IEEE Trans. Knowl. Data Eng. 2024, 36, 6124–6144. [Google Scholar] [CrossRef] [Scilit]
  10. Tang, C.; Wang, J.; Zheng, X.; Liu, X.; Xie, W.; Li, X.; Zhu, X. Spatial and spectral structure preserved self-representation for unsupervised hyperspectral band selection. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5531413. [Google Scholar] [CrossRef] [Scilit]
  11. Ding, Y.; Zhang, Z.; Kang, W.; Yang, A.; Zhao, J.; Feng, J.; Hong, D.; Zheng, Q. Adaptive homophily clustering: Structure homophily graph learning with adaptive filter for hyperspectral image. IEEE Trans. Geosci. Remote Sens. 2025, 63, 5510113. [Google Scholar] [CrossRef] [Scilit]
  12. Deng, Y.J.; Li, H.C.; Tan, S.Q.; Hou, J.; Du, Q.; Plaza, A. t-Linear tensor subspace learning for robust feature extraction of hyperspectral images. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5501015. [Google Scholar] [CrossRef] [Scilit]
  13. Song, W.; Zhang, X.; Yang, G.; Chen, Y.; Wang, L.; Xu, H. A Study on Dimensionality Reduction and Parameters for Hyperspectral Imagery Based on Manifold Learning. Sensors 2024, 24, 2089. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Fei, X.; Wu, S.; Miao, J.; Wang, G.; Sun, L. Lightweight-VGG: A fast deep learning architecture based on dimensionality reduction and nonlinear enhancement for hyperspectral image classification. Remote Sens. 2024, 16, 259. [Google Scholar] [CrossRef] [Scilit]
  15. Rodarmel, C.; Shan, J. Principal component analysis for hyperspectral image classification. Surv. Land Inf. Sci. 2002, 62, 115–122. [Google Scholar]
  16. Bandos, T.V.; Bruzzone, L.; Camps-Valls, G. Classification of hyperspectral images with regularized linear discriminant analysis. IEEE Trans. Geosci. Remote Sens. 2009, 47, 862–873. [Google Scholar] [CrossRef] [Scilit]
  17. Bayliss, J.D.; Gualtieri, J.A.; Cromp, R.F. Analyzing hyperspectral data with independent component analysis. In Proceedings of the 26th AIPR workshop: Exploiting New Image Sources and Sensors; SPIE: Washington, DC, USA, 1998; Volume 3240, pp. 133–143. [Google Scholar]
  18. Roweis, S.T.; Saul, L.K. Nonlinear dimensionality reduction by locally linear embedding. Science 2000, 290, 2323–2326. [Google Scholar] [CrossRef] [Scilit]
  19. He, X.; Cai, D.; Yan, S.; Zhang, H. Neighborhood preserving embedding. In Proceedings of the Tenth IEEE International Conference on Computer Vision, Beijing, China, 17–21 October 2005; IEEE: New York, NY, USA, 2005; Volume 2, pp. 1208–1213. [Google Scholar]
  20. He, X.; Niyogi, P. Locality preserving projections. In Proceedings of the Advances in Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2003; MIT Press: Cambridge, MA, USA, 2003; Volume 16. [Google Scholar]
  21. Yao, C.; Zheng, L.; Feng, L.; Yang, F.; Guo, Z.; Ma, M. A Collaborative Superpixelwise Autoencoder for Unsupervised Dimension Reduction in Hyperspectral Images. Remote Sens. 2023, 15, 4211. [Google Scholar] [CrossRef] [Scilit]
  22. Qin, A.; Tan, Z.; Wang, R.; Sun, Y.; Yang, F.; Zhao, Y.; Gao, C. Distance constraint-based generative adversarial networks for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 2023, 61, 5511416. [Google Scholar] [CrossRef] [Scilit]
  23. Cao, C.Y.; Li, M.T.; Deng, Y.J.; Ren, L.; Liu, Y.; Zhu, X.-H. Joint Sparse Local Linear Discriminant Analysis for Feature Dimensionality Reduction of Hyperspectral Images. Remote Sens. 2024, 16, 4287. [Google Scholar] [CrossRef] [Scilit]
  24. Jin, J.; Wang, B.; Zhang, L. A novel approach based on fisher discriminant null space for decomposition of mixed pixels in hyperspectral imagery. IEEE Geosci. Remote Sens. Lett. 2010, 7, 699–703. [Google Scholar] [CrossRef] [Scilit]
  25. Chen, H.; Sun, Y.; Li, X.; Zheng, B.; Chen, T. Dual-Scale Complementary Spatial-Spectral Joint Model for Hyperspectral Image Classification. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 6772–6789. [Google Scholar] [CrossRef] [Scilit]
  26. Guo, X.; Feng, Q.; Guo, F. CMTNet: A hybrid CNN-transformer network for UAV-based hyperspectral crop classification in precision agriculture. Sci. Rep. 2025, 15, 12383. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Sun, M.; Wang, L.; Jiang, S.; Cheng, S.; Tang, L. HyperSMamba: A Lightweight Mamba for Efficient Hyperspectral Image Classification. Remote Sens. 2025, 17, 2008. [Google Scholar] [CrossRef] [Scilit]
  28. Zhang, Z.; Huang, L.; Hu, Y.; Wang, Q.; Xu, C.; Qi, Y.; Liu, C. An innovative feature clustering paradigm based on Hypergraph cooperative graph convolutional network for hyperspectral image classification. Eng. Appl. Artif. Intell. 2026, 166, 113597. [Google Scholar] [CrossRef] [Scilit]
  29. Zhang, Z.; Huang, L.; Tang, B.H.; Wang, Q.; Ge, Z.; Jiang, L. Non-Euclidean Spectral-Spatial feature mining network with Gated GCN-CNN for hyperspectral image classification. Expert Syst. Appl. 2025, 272, 126811. [Google Scholar] [CrossRef] [Scilit]
  30. Sun, W.; Yang, G.; Peng, J.; Meng, X.; He, K.; Li, W.; Li, H.-C.; Du, Q. A multiscale spectral features graph fusion method for hyperspectral band selection. IEEE Trans. Geosci. Remote Sens. 2021, 60, 5513712. [Google Scholar] [CrossRef] [Scilit]
  31. Liu, M.Y.; Tuzel, O.; Ramalingam, S.; Chellappa, R. Entropy rate superpixel segmentation. In Proceedings of the CVPR 2011; IEEE: New York, NY, USA, 2011; pp. 2097–2104. [Google Scholar]
  32. Wang, Q.; Li, Q.; Li, X. A fast neighborhood grouping method for hyperspectral band selection. IEEE Trans. Geosci. Remote Sens. 2020, 59, 5028–5039. [Google Scholar] [CrossRef] [Scilit]
  33. Li, W.; Prasad, S.; Fowler, J.E. Decision fusion in kernel-induced spaces for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 2013, 52, 3399–3411. [Google Scholar] [CrossRef] [Scilit]
  34. Ong, F.; Lustig, M. Beyond low rank+ sparse: Multiscale low rank matrix decomposition. IEEE J. Sel. Top. Signal Process. 2016, 10, 672–687. [Google Scholar] [CrossRef] [Scilit]
  35. Jiang, J.; Ma, J.; Chen, C.; Wang, Z.; Cai, Z.; Wang, L. SuperPCA: A superpixelwise PCA approach for unsupervised feature extraction of hyperspectral imagery. IEEE Trans. Geosci. Remote Sens. 2018, 56, 4581–4593. [Google Scholar] [CrossRef] [Scilit]
  36. Zhong, Y.; Wang, X.; Xu, Y.; Wang, S.; Jia, T.; Hu, X.; Zhao, J.; Wei, L.; Zhang, L. Mini-UAV-borne hyperspectral remote sensing: From observation and processing to applications. IEEE Geosci. Remote Sens. Mag. 2018, 6, 46–62. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.