论文信息
论文解读
AI 辅助整理- 方法
- 优化波段选择、裁剪缩放数据增强、ViT与2D-CNN混合模型及SVM分类。
- 发现
- 在三个高光谱数据集上分类精度优于少样本学习与传统方法,且计算复杂度更低。
- 机会点
- 可探索轻量化混合模型在资源受限的田间实时作物分类与病害监测中的部署。
论文摘要
高光谱图像(HSI)在监视和精准农业等遥感应用中发挥着重要作用,但仍面临标注样本有限和类别不平衡等挑战。本文提出了一种将光谱波段选择与先进深度学习技术相结合的高光谱图像分类新方法。首先,我们提出了一种优化的波段选择方法,并利用裁剪与缩放变换进行数据增强,以提升特征多样性。其次,我们引入了一种混合卷积-Transformer框架,将视觉Transformer(ViT)与二维卷积神经网络(2D-CNN)架构相结合,并辅以序列聚合层以缓解小数据集上的过拟合问题。该混合模型在保留关键光谱细节的同时,有效捕捉了空间和光谱特征。最后,我们采用支持向量机进行稳健分类。在三个广泛使用的高光谱图像数据集上进行的大量实验表明,我们提出的ViT-CNN-BS框架相比最先进的少样本学习方法和传统方法,实现了更优的分类精度。除了达到更高的精度外,我们的方法还降低了计算复杂度,使其适用于资源受限的应用场景。研究结果凸显了混合深度学习框架在推动遥感分析方面的潜力,并可扩展应用于环境监测、灾害管理和精准农业等领域。
全文
Scientific ReportsARTICLE | Article in Press
Scientific Reports https://doi.org/10.1038/s41598-026-72102-z
Scientific Reports
This Article in Press is shared early to give you faster access to new research. It is citable and carries a permanent DOI.
The final edited version will replace it automatically.
Hybrid transformer and CNN for hyperspectral image
classification with spectral band selection
Eman N. Abdelhafez · Ahmed Hagag · Tamer A. Abassy
Received: 8 May 2026 / Accepted: 15 September 2026
© The Author(s) 2026
Abstract
Hyperspectral images (HSI) play a vital role in remote sensing applications such as surveillance and precision
agriculture, yet they face challenges including limited labeled samples and class imbalance. This paper pres -
ents a new method for HSI classification by integrating spectral band selection with advanced deep learning
techniques. First, we propose an optimized band selection method alongside data augmentation using crop-
and-resize transformations to enhance feature diversity. Second, we introduce a hybrid convolution-transformer
framework that combines Vision Transformer (ViT) and 2D-CNN architectures, supplemented with a sequence
aggregation layer to mitigate overfitting on small datasets. This hybrid model effectively captures both spatial
and spectral features while preserving critical spectral details. Finally, we employ a support vector machine
for robust classification. Extensive experiments on three widely used HSI datasets demonstrate that our pro -
posed ViT-CNN-BS framework achieves superior classification accuracy compared to state-of-the-art few-shot
learning methods and traditional approaches. Beyond achieving higher accuracy, our approach also reduces
computational complexity, making it suitable for resource-constrained applications. The findings highlight the
potential of hybrid deep learning frameworks for advancing remote sensing analytics, with possible extensions
to environmental monitoring, disaster management, and precision agriculture.
Keywords Hyperspectral image classification · 2D convolutional neural network · Vision transformer ·
Few-shot learning
Introduction
A hyperspectral image (HSI) is a 3D data cube composed of numerous continuous spectral bands, providing rich
spatial and spectral information. HSI has diverse applications in mineral exploration, agriculture, and military
target detection through imaging spectroscopy1. To exploit their potential, techniques like classification, unmix-
ing, and detection are widely studied in remote sensing.
Among these, HSI classification is central, assigning each pixel to a predefined class using machine learn -
ing models trained on labeled samples 2. Current research in hyperspectral image classification focuses on
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
dimensionality reduction and classifier enhancement. By combining transformer-based feature extraction with
band selection, these methods improve both accuracy and efficiency in classification systems3–8.
Qin et al. 9 presented a prototype rectification network for cross-domain few-shot HSI classification, featur -
ing a query-guided rectification module for improving prototype representativeness, an interclass loss function
to reduce confusion, and an intermediate domain to ease domain shift and enhance alignment. The study in 10
introduced a Fast Residual Multi-Branch Spiking Neural Network (FRM-SNN) for hyperspectral image (HSI)
classification, utilizing leaky integrate-and-fire (LIF) neurons. The network core component, the Residual Multi-
Branch Module (RMM), integrates spiking, mixed, and point convolutions to effectively capture spatial-spectral
features.
Despite significant progress in HSI analysis, achieving accurate and efficient classification remains a critical
challenge due to the high dimensionality of spectral data and the scarcity of labeled samples. Many existing
methods focus primarily on either spectral or spatial feature extraction, often neglecting the complementary
relationship between the two. Conventional convolutional neural networks (CNN) excel at capturing local spatial
structures but may fail to model long-range dependencies, while vision transformers (ViT) can effectively model
global context but often require large-scale datasets to avoid overfitting. Moreover, the presence of redundant
and noisy spectral bands not only increases computational complexity but can also degrade classification perfor-
mance. These limitations highlight the need for approaches that combine feature selection with hybrid architec -
tures capable of learning both local and global representations. In this work, we propose a novel ViT-CNN-BS
framework that integrates optimized band selection, effective data augmentation, and a hybrid transformer–CNN
design. By coupling these elements with a robust SVM classifier, our approach addresses the dual challenges of
limited data availability and spectral redundancy, offering a practical pathway toward scalable and accurate HSI
classification for diverse real-world applications. Most deep learning methods for HSI classification emphasize
accuracy over efficiency. Our study proposes ViT-CNN-BS, a hybrid ViT-CNN with band selection, to enhance
accuracy while reducing computational complexity. Key contributions of our method include:
● Many bands may introduce noise, affecting pixel classification. Therefore, a label-guided (supervised) band
selection method is proposed.
● To increase the sample size and reduce overfitting, data augmentation is employed with CenterCrop and Resize
techniques.
● To extract spatial and spectral features from images, we utilize a ViT-CNN model, enhancing the feature ex -
traction process for improved performance. A support vector machine (SVM) classifier is then used to classify
the HSI. The Adam optimizer is used to train the hybrid feature extractor, whereas the SVM is trained sepa -
rately on the extracted features.
● The ViT-CNN-BS method is validated on three benchmark HSI datasets, consistently outperforming existing
approaches in accuracy.
The subsequent sections of this paper are divided as follows: Section “ Related work” reviews existing research
on hyperspectral image (HSI) classification. Section “Methodology” presents our ViT-CNN-BS method, explain-
ing each part. Section " Experiments results and discussion " covers the dataset, experimental setup, and results.
Finally, Section "Conclusion" concludes with a summary of the key findings and provides recommendations for
future research directions.
Related work
In few-shot HSI classification, two datasets are commonly involved: the source dataset and the target dataset. In
real-world scenarios, the source dataset comprises entirely labeled samples, which are utilized for training the
classification method. Conversely, the target dataset contains only a small number of labeled samples. These
samples correspond to pixels in the HSI data, but to retain spatial information, fixed-size patches centered on
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
each pixel are generally used as the input samples instead of the raw pixels. The goal of few-shot learning is to
classify the unlabeled samples in the target dataset by leveraging the labeled samples from both the source and
target datasets. In research environments, for better evaluation of the methods, a fully labeled dataset is often
chosen as the target dataset, referred to as the testing dataset. This setup allows for a thorough assessment of the
few-shot learning approach.
In cross-domain few-shot learning (FSL) tasks, the source dataset ( 𝐷𝐷𝑠𝑠) includes 𝐶𝐶𝑠𝑠 classes, while the target
dataset (𝐷𝐷𝑡𝑡) consists of 𝐶𝐶𝑡𝑡 classes, where 𝐶𝐶𝑡𝑡 <𝐶𝐶 𝑠𝑠. To mimic the target dataset scenario, few-shot tasks are created
by randomly selecting 𝐶𝐶𝐶𝐶 𝐶𝐶𝐶𝐶𝐶 𝐶 samples for episodic training. Here, 𝐶𝐶 denotes the number of chosen classes,
typically matching the number of classes in the target dataset. 𝐾𝐾 represents the few labeled samples per class,
and 𝑀𝑀 is the number of query samples per class, with 𝐾𝐾𝐾𝐾𝐾 . The support set consists of 𝐶𝐶𝐶𝐶𝐶 labeled samples,
expressed as {(𝑥𝑥𝑖𝑖,𝑦𝑦 𝑖𝑖)}
𝐶𝐶𝐶𝐶𝐶
𝑖𝑖𝑖𝑖 , while the query set comprises 𝐶𝐶𝐶𝐶𝐶 query samples, denoted as {(𝑥𝑥𝑖𝑖,𝑦𝑦 𝑖𝑖)}
𝐶𝐶𝐶𝐶𝐶
𝑖𝑖𝑖𝑖 . These tasks,
referred to as C-way K-shot tasks, focus on predicting the classes of the query samples using the support samples
as training data11–13.
In recent studies focusing on satellite hyperspectral image classification, Liu et al. 11 presented a new deep
few-shot learning approach aimed at addressing the challenge posed by limited sample sizes in HSI classifica -
tion. Their method utilizes a deep residual 3-D convolutional neural network to extract spectral-spatial features.
Training is conducted episodically to learn a metric space where similar samples are clustered closely, and dis -
similar samples are separated widely. Testing samples are classified using a nearest neighbour classifier within
this learned metric space, aiming to enhance classification performance by effectively leveraging deep learning
techniques despite the constraints of small sample sizes. Iyer et al.14 proposed an inception-inspired architecture
(IIA) and ensembled it with existing architectures, HybridSN and Inception Residual Network. The proposed IIA
incorporated 3D and 2D Inception blocks, facilitating enhanced spectral-spatial feature learning. Furthermore,
another study15 introduced heterogeneous few-shot learning (HFSL) for HSI classification. This approach focuses
on classifying with a limited number of labelled samples by employing few-shot learning on mini-ImageNet
datasets to acquire transferable knowledge. It introduces a spectral-spatial fusion network to integrate spatial
and spectral information effectively for classification tasks in HSI data. Finally, fine-tuning on HSI has improved
classification performance by extracting discriminative spectral-spatial features and individual knowledge. Fırat
et al.16 proposed a Hybrid 3D/2D CNN method in conjunction with dimension reduction techniques. This hybrid
approach combined 3D CNN, 2D CNN, and depth wise separable convolution. The 3D CNN extracted common
spectral-spatial features, followed by the 2D CNN, which learns additional spatial features. Depth wise separable
convolution reduces the number of parameters and prevents overfitting. In17 introduced a 3D CNN-based model
for hyperspectral image classification, leveraging both spectral and spatial features. The approach has two stages:
pre-processing using HyperPCA for dimensionality reduction and classification with a 3D CNN to fuse multi-res-
olution spectral and spatial features. The model used concatenation and addition operations for feature extraction
and direct max pooling to address strong activations. It enhanced classification performance, even with limited
labeled samples, by automatically extracting pertinent information while preserving spatial and spectral features.
The study in 18, a new few-shot learning framework (CMFSL) for hyperspectral image classification was pro -
posed. CMFSL learns global class representations using both base and new class samples, employing a synthesis
strategy to prevent overfitting. Mahalanobis distance measurement was utilized for label determination, enabling
more flexible decision boundaries. Additionally, CMFSL introduced a lightweight cross-scale convolutional net-
work (LXConvNet) and a spectral-prior-based refinement module (SPRM) to effectively utilize spectral-spatial
information and mitigate domain shift effects. In 13, the Gia-CFSL framework was proposed, merge FSL with
domain alignment through graph information aggregation. This approach addressed limitations by conducting
FSL training using all labelled samples in the support domain (SD) and a subset in the target domain (TD).
Key components included the intradomain distribution extraction (IDE) block and the Cross-Domain Similarity
Aware (CSA) block, which captured intradomain relationships and interdomain similarities, respectively. Cross-
domain graph alignments were utilized to mitigate domain-related impacts. Liu et al. (C. Liu, Yang,1) introduced
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
an enhanced method for CDFSL hyperspectral image classification, augmenting an existing approach by incor -
porating sample relations into the learning process. They employed contrastive learning to improve class-level
sample relations, thereby enhancing feature distinctiveness. Additionally, a transformer-based cross-attention
module was introduced to capture set-level sample relations, facilitating attention extraction from query samples
to support samples. Chun et al. (C. Liu, Yang, Dong, et al.12) proposed enhancing few-shot hyperspectral image
classification (APNT) by integrating TransMix into the prototype network. They introduced a method to mix two
patches during training to simulate boundary patches, thereby increasing sample diversity. Transformer attention
was also used to mix patch labels, improving label generation for synthetic patches. Overall, this approach aimed
to enhance classification performance by enriching training samples and refining label generation.
Beyond the metric-based and domain alignment strategies discussed, another significant trend in few-shot
HSI classification involves the integration of attention mechanisms to enhance feature discriminability. Attention
mechanisms, particularly self-attention as popularized by the Transformer architecture19, have shown remarkable
success in capturing long-range dependencies in sequential data. Adapted for vision tasks as Vision Transformers
(ViT)20, these models process an image as a sequence of patches, using self-attention to weigh the importance
of each patch relative to others, thereby modeling global contextual information effectively. For HSI data, which
inherently contains rich spectral sequences and spatial contexts, this global modeling capability is highly advan-
tageous. Recent studies have begun to explore pure Transformer architecture for HSI analysis. For instance,
SpectralFormer21 employs a cross-layer adaptive fusion mechanism to aggregate spectral-spectral and spatial-
spectral attention, demonstrating the strength of Transformers in capturing intricate spectral details. Similarly,
other works have proposed spatial-spectral feature extraction modules built on self-attention to reduce spectral
redundancy and highlight informative features. However, a primary limitation of standard ViT models is their
requirement for large-scale datasets to learn effective representations and avoid overfitting, which is directly at
odds with the few-shot learning paradigm. To mitigate this, some approaches have begun to hybridize CNNs
and Transformers, leveraging the CNN's inductive bias for local feature extraction and spatial hierarchy with the
Transformer's strength in global contextualization. Our proposed method builds upon this hybrid concept but
distinctively integrates a principled band selection module upfront to directly address spectral redundancy, creat-
ing a more efficient and focused feature extraction pipeline tailored for data-scarce environments. In the context
of few-shot hyperspectral image classification, Zhao et al. 22 proposed a residual channel attention based sample
adaptation few-shot learning method that further improves cross-domain sample adaptation, reinforcing the value
of attention-driven adaptation for few-shot HSI classification. At the same time, as Transformer-based models
become more widely deployed in remote sensing, their robustness and security warrant increasing attention; for
example, Zhao et al. 23 studied a retraining-free backdoor attack on Transformer models, a consideration that is
relevant to the security of ViT-based HSI classifiers. Table 1 provides a summary of results from different stud -
ies concentrating on HSI classification. As a result, we suggest adopting a selective band and hybrid transformer
network and 2D CNN approach to evaluate the Indian Pine, Pavia University and Salinas datasets, ultimately
achieving the highest diagnostic accuracy.
Beyond the hyperspectral domain, recent advances in intelligent sensing, robust image processing, neural-net-
work-based modeling, and autonomous platforms highlight complementary directions for extending HSI classi -
fication. For instance, implicit point-to-voxel representations have been exploited for LiDAR-IMU simultaneous
localization and mapping in autonomous platforms24, non-uniform illumination underwater image enhancement
has been addressed through illumination-component estimation25, and neural-network-based methods have been
developed for the exact derivation of solutions to nonlinear equations, such as the Benjamin–Bona–Mahony
equation26, space–time fractional partial differential equations 27, and multi-modal neuromyotonic reasoning for
the BLMP equation 28. In the domain of autonomous and human-assistive systems, bionic fairings and hierar -
chical thruster-configuration optimization have been investigated for amphibious unmanned platforms 29, and
wearable passive lower-limb exoskeletons have been developed to support industrial workers 30. Although these
studies address different application scenarios, they reflect recent progress in intelligent perception, robust image
processing, AI-assisted modeling, and the optimization of autonomous and human-assistive systems, which
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Study Method Used and Training Model Dataset(s) Training Ratio Accuracy
Liu et al.11 DFSL Indian Pines 5 Samples OA = 61.69
AA = 73.05
Kappa = 56.78
Pavia University OA = 75.63
AA = 75.41
Kappa = 70.05
Salinas OA = 86.95
AA = 90.08
Kappa = 85.51
Wang et al.15 HFSL Indian Pines 5 Samples OA = 71.74
AA = 82.79
Kappa = 68.18
Pavia University OA = 83.14
AA = 88.17
Kappa = 78.27
Salinas OA = 89.43
AA = 94.16
Kappa = 88.28
Xi et al.18 CMFSL Indian Pines 5 Samples OA = 66.85
AA = 78.56
Kappa = 62.67
Pavia University OA = 77.01
AA = 81.29
Kappa = 74.05
Salinas OA = 87.99
AA = 92.98
Kappa = 86.67
Zhang et al.13 Gia-CFSL Indian Pines 5 Samples OA = 65.70
AA = 76.50
Kappa = 61.28
Pavia University OA = 77.06
AA = 79.99
Kappa = 70.63
Salinas OA = 88.45
AA = 92.36
Kappa = 87.16
Liu et al.1 MRLF Indian Pines 5 Samples OA = 69.46
AA = 80.24
Kappa = 65.69
Pavia University OA = 77.41
AA = 83.74
Kappa = 73.40
Salinas OA = 90.79
AA = 94.77
Kappa = 89.69
Chun et al.12 APNT Indian Pines 5 Samples OA = 77.07
AA = 85.59
Kappa = 74.15
Pavia University OA = 84.87
AA = 89.88
Kappa = 80.89
Salinas OA = 91.65
AA = 95.23
Kappa = 90.72
Table 1 Summary of
previous research on HSI
classification.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
motivates extending the proposed HSI classification framework to more complex real-world sensing and auton -
omous-platform applications.
Methodology
Our study introduces a HSI classification method, called ViT-CNN-BS, combining band selection, data augmen-
tation, 2D CNN, and vision transformer techniques as shown in Fig. 1. The model is trained on a fully labeled
source dataset and fine-tuned on limited labeled samples from the target dataset for better adaptation.
Preprocessing
In few-shot HSI classification, a fully labeled source dataset and a target dataset with limited labeled samples are
used to classify unlabeled target samples. Five samples per class from the target dataset are augmented to 200
per class using CenterCrop and Resize. Performance is further enhanced through optimal spectral band selection,
improving classification accuracy.
Band selection
The algorithm starts by setting two parameters, 𝑝𝑝1 and 𝑝𝑝2. which are presumably related to the number of spec -
tral bands to be chosen. It proceeds to compute the mean spectral signature for each class. Let AV denote the
array containing the mean spectral signature of each class, computed using the labeled training samples. Then,
it calculates the absolute differences between these class-wise average spectra and stores them in an array called
𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 . Here, 𝑝𝑝1 and 𝑝𝑝2 are the band-selection parameters that control the number of bands retained in the
initial and the second selection stages, respectively. A V denotes the array that stores the mean spectral signature
Fig. 1 The framework ViT-CNN-BS illustrates the phases involved in the classification of HSI. The framework shows the
main modules of the framework: band selection, data augmentation (CenterCrop and Resize), hybrid 2D-CNN–ViT feature
extraction, and SVM classification.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
of each class computed from the labeled training samples, and the indices i and j in the absolute-difference array
iterate over every pair of distinct classes (i ≠ j) so that all class combinations are considered in Eq. 1.
The band-selection procedure is label-guided (supervised) because the class-wise mean spectra used for band
selection are computed from the class labels of the training set; only the labeled samples of the training set are
used, and no labels from the test set are employed.
𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 [𝑘𝑘] = |𝐴𝐴𝐴𝐴 [𝐶𝐶] 𝐴 𝐴𝐴𝐴𝐴[𝐴𝐴]| (1)
The index corresponding to the largest value in the 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 array is computed and stored as 𝑚𝑚𝑚𝑚𝑚𝑚_𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 .
The index of the maximum value is obtained by argmax over the class-difference array, i.e., the class pair exhibit-
ing the largest absolute spectral deviation in Eq. 2.
𝑚𝑚𝑚𝑚𝑚𝑚_𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 𝑝 𝑚𝑚𝑝𝑝𝑝𝑝𝑚𝑚𝑚𝑚𝑚𝑚𝑝𝑝𝑝𝑝𝑝𝑚𝑚𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 (2)
The algorithm selects the first set of bands based on the indices up to 𝑝𝑝1 from the 𝑚𝑚𝑚𝑚𝑚𝑚_𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 array. The frequency
of each index in the first selected bands is counted, and the results are stored in frequency_index. The indices in
𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 _𝑖𝑖𝑓𝑓𝑖𝑖𝑓𝑓𝑖𝑖 are sorted in increasing order to obtain some bands. 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 are selected by taking the first 𝑝𝑝2
elements from 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓 _𝑖𝑖𝑓𝑓𝑖𝑖𝑓𝑓𝑖𝑖. The original hyperspectral data cube X is updated to retain only the selected bands.
These selected bands are the original spectral bands of the data cube, identified by their band indices, and are
distinct from the principal components computed afterward. The updated data cube X is Standardized. Standard-
ized typically involves scaling the data to have zero mean and unit variance31. The formula for 𝑋𝑋_𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 in the
following in Eq. 3.
𝑋𝑋_𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 𝑆 𝑥𝑥𝑥𝑥𝑥
√
1
𝑛𝑛
∑
𝑛𝑛
𝑘𝑘𝑘1(𝑥𝑥𝑥𝑥𝑥 )
2 (3)
where 𝑥𝑥 is a value of band, µ is the mean of bands, and n is the number of bands. The 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 of the
standardized data is calculated. where 𝑥𝑥 and 𝑦𝑦 are the arithmetic mean of 𝑥𝑥 and 𝑦𝑦, respectively as detailed in Eq. 4.
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐 1𝑐𝑐 𝑛1
𝑛𝑛
∑
𝑘𝑘𝑘𝑘
(𝑐𝑐𝑖𝑖 𝑛 𝑐𝑐)( 𝑦𝑦𝑖𝑖 𝑛 𝑦𝑦) (4)
Some points to consider include that the diagonal elements represent the covariance values between each dimen-
sion with itself. Regarding 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 and 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 , the most common approach defines an 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 of the
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 as a vector 𝑢𝑢 that satisfies the following Eq. 5.
𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝑐 𝑐𝑐𝑐𝑐 (5)
where, 𝜆𝜆 is a scalar called the 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 associated to the 𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒𝑒 . The bands with maximum differences are
prioritized, and frequency analysis ensures robust selection across multiple class comparisons. Finally, eigen-
decomposition of the covariance matrix is performed to ensure that the selected bands capture the most infor -
mative variance, leading to the final subset. The parameter num controls how many principal components are
retained after PCA is applied to the selected original bands. Because these principal components are linear com-
binations of the selected spectral bands, num equals the dimension of the final feature representation rather than
the number of selected original bands; the selected original bands themselves are determined in the first stage
(Eqs. 1 and 2).
𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠 𝑠𝑠 _𝑆𝑆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑆𝑆𝑠𝑠 𝑆 𝑆𝑆𝑆𝑆𝑆𝑆 𝑠𝑠𝑠𝑠𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠 𝑠𝑠𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 (6)
where 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝𝑝 represents the matrix composed of the top selected eigenvectors. The final output of the
algorithm is the 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 , representing a subset of bands considered relevant or important for further analysis
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
as detailed Eq. 6. The output of Eq. 6 is the PCA projection (component scores) of the standardized selected
original bands; it yields the final reduced representation of dimension num, while the selected original spectral
bands themselves are determined in the first stage (Eqs. 1 and 2). This approach combines spectral distinctive -
ness with statistical variance preservation, producing a band subset that balances interpretability, accuracy, and
computational efficiency32.
Augmentation
In this study, data augmentation was performed using CenterCrop and Resize, where the central region of HSI
patches (1–9-pixel margins) is cropped and resized to 9 × 9. This approach preserves key central information with
minimal distortion, and five pixels per class from the target dataset were augmented to 200 samples per class2,33–35.
Because the five originally labeled samples per class are the only real labels available to every method, and this
augmentation step produces only transformed copies of these samples (rather than any new real or independently
collected samples), the amount of real labeled data used by ViT-CNN-BS is identical to that used by the baseline
methods.
Mapping layer
The source and target data are split into support and query sets and passed through a mapping layer to standardize
spectral dimensions across sensors. A hybrid 2D CNN–ViT architecture then extracts spatial-spectral embed -
dings, with a 2D CNN (9 × 9 kernel) used in preprocessing to reduce dimensionality and align spectral features
between domains1,12,13.
Feature extraction
A hybrid architecture combining a 2D CNN with residual connections and a vision transformer is used for hyper-
spectral feature extraction. The CNN captures local spatial–spectral details, while the transformer models global
dependencies via self-attention.
2D CNN
HSI holds rich spectral–spatial information, so Conv2D is used to extract both joint and spatial features 36,37–39.
The feature extractor is a fully convolutional network (FCN) with 1 × 1 and 3 × 3 convolutional layers, each fol-
lowed by batch normalization (BN) and ReLU, ending with adaptive average pooling.
This design ensures efficient feature learning and stable convergence during training.
Finally, the 2D CNN output is concatenated with the class token, allowing the transformer to build a global
representation for classification, as depicted in Fig. 2.
Transformer
The transformer model leverages self-attention and feed-forward networks to extract robust feature representa -
tions, unlike CNNs that rely on convolutions36. In HSI, input patches of size 𝑊𝑊𝑊𝑊𝑊𝑊𝑊𝑊 are reshaped into sequences
𝑋𝑋 ∈ ℝW H×D where each element is a pixels spectral vector.
A tokenization step adds extra token vectors (dimension D), updating the sequence to 𝑋𝑋 ∈ ℝ(W H +1) × D, which is
then processed by the transformer to extract features and attention maps.
As illustrated in Fig. 3, the transformer module features stacked transformer encoders. Each encoder con -
sists of a self-attention layer and a feedforward layer. Within the self-attention layer, there are three trainable
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Fig. 3 Architecture of the Transformer Model: (a) Multi-Head Attention. (b) Structure of vision transformer encoder. Here
Q, K, and V denote the query, key, and value projections, and 𝑑𝑑𝑘𝑘 is the dimension of the key vectors used to scale the atten-
tion scores.
Fig. 2 Proposed 2D CNN Structure. The 2D CNN applies 1 × 1 and 3 × 3 convolutions followed by batch normalization and
ReLU, and an adaptive average pooling layer.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
projection matrices 𝑊𝑊𝑊𝑊𝑊𝑊 ∈ ℝd×dq, 𝑊𝑊𝑊𝑊𝑊𝑊 ∈ ℝd×dk, 𝑊𝑊𝑊𝑊𝑊𝑊 ∈ ℝd×dv. These matrices are responsible for projecting the
input sequences into distinct embedding spaces, as outlined in Eq. 7.
𝑄𝑄𝑄𝑄 𝑄 𝑄𝑄𝑄𝑄
Qx
𝐾𝐾𝑄𝑄 𝑄 𝑄𝑄𝑄𝑄
Kx
𝑉𝑉𝑄𝑄 𝑄 𝑄𝑄𝑄𝑄
Vx
(7)
where 𝑄𝑄𝑄𝑄, 𝐾𝐾𝐾𝐾, and 𝑉𝑉𝑉𝑉 denote the projected matrices of the sequence 𝑋𝑋. The attention maps 𝐴𝐴 ∈ ℝ(WH +1) × (WH +1)
are computed using these projections. These attention maps capture how each element in the sequence attends
to other elements, as shown in Eq. 8. The features of each element in the sequence are updated based on Eq. 9.
𝐴𝐴 𝐴 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 𝐴𝐴𝐴𝐴𝐴 𝐴 𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 ( 𝐴𝐴𝐴𝐴𝑄𝑄𝑇𝑇√𝑑𝑑𝑘𝑘 ) (8)
𝑋𝑋′ = 𝐴𝐴𝐴𝐴𝐴𝐴𝐴 (9)
In the transformer, multi-head self-attention features are concatenated, linearly projected, and passed through a
feedforward layer, producing sequences 𝑋𝑋′′ ∈ ℝ(𝑊𝑊𝑊𝑊𝑊𝑊𝑊𝑊𝑊𝑊. After two encoder layers, the refined token vectors serve
as feature vectors, while averaged attention maps 𝐴𝐴 are reshaped into 𝑊𝑊 𝑊 𝑊𝑊𝑊 highlighting pixel importance in the
spatial context12,40,41.
The ViT output consists of support features, synthetic query features, and an attention map. Support features
represent the limited labeled examples (support set) in few-shot learning. Synthetic query features are generated
to enrich the query set and improve training robustness. The attention map highlights important spectral or spatial
regions, guiding the model to focus on relevant information for classification. The mixing process for two query
samples 𝑥𝑥𝑖𝑖 and 𝑥𝑥𝑘𝑘 with labels 𝑦𝑦𝑖𝑖 and 𝑦𝑦𝑘𝑘 is defined by Eq. 10.
̃𝑥𝑥 𝑥 𝑥𝑥⊙ 𝑥𝑥𝑖𝑖 + (1−𝑥𝑥 ) ⊙ 𝑥𝑥𝑘𝑘
̃𝑦𝑦 𝑥𝑦𝑦 1𝑦𝑦𝑖𝑖 +𝑦𝑦 2𝑦𝑦𝑘𝑘 (10)
Let M ∈ {0,1}W×H be a binary mask that specifies which pixels to drop from a sample with a spatial size of W × H.
the value 1 represents a binary mask composed entirely of ones is used, while ⊙ denotes element-wise multiplica-
tion. The synthetic query sample is represented as ˜𝑥𝑥, and its corresponding synthetic label is ̃𝑦𝑦. The proportions of
the original labels 𝑦𝑦𝑖𝑖 and 𝑦𝑦𝑘𝑘 in the synthetic label are given by 𝛿𝛿1 and 𝛿𝛿2, respectively.
After acquiring the attention maps, 𝐴𝐴 ∈ ℝW× H for the query samples, the values of 𝛿𝛿1 and 𝛿𝛿2 for label mixing,
as defined in Eq. 10, are directly computed using by summing the attention scores within the mixed region. The
derivation process is formally represented in Eq. 11.
𝛿𝛿1 =𝑀𝑀 ⊙ 𝐴𝐴𝑖𝑖
𝛿𝛿2 = (1−𝑀𝑀 ) ⊙ 𝐴𝐴𝑘𝑘 (11)
Let 𝐴𝐴𝑖𝑖 and 𝐴𝐴𝑘𝑘 denote the attention maps of the query samples 𝑥𝑥𝑖𝑖 and 𝑥𝑥𝑘𝑘, respectively. 𝑀𝑀 refers to the binary mask
described in Eq. 10. According to Eq. 11, the values of 𝛿𝛿1 and 𝛿𝛿2 represent the likelihood that the synthetic sample
˜𝑥𝑥, as defined in Eq. 10, belongs to the classes 𝑦𝑦𝑖𝑖 and 𝑦𝑦𝑘𝑘, respectively. Furthermore, let 𝑧𝑧𝑖𝑖 represent the feature of
each support sample. The prototype for the 𝑐𝑐𝑡𝑡𝑡 class is calculated as shown in Eq. 12.
𝑝𝑝𝑐𝑐 = 1|𝑠𝑠𝑐𝑐| ∑𝑧𝑧𝑖𝑖 𝜖𝜖𝜖𝜖𝑐𝑐 𝑧𝑧𝑖𝑖 (12)
where 𝑠𝑠𝑐𝑐 denotes the set of features belonging to the support samples of the 𝑐𝑐𝑡𝑡𝑡 class. By classifying the synthetic
query sample ˜𝑥𝑥 into one of the classes corresponding to the labels 𝑦𝑦𝑖𝑖 and 𝑦𝑦𝑘𝑘, the few-shot learning losses are com-
puted using Eqs. 13 and 14.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
𝐿𝐿𝑖𝑖𝑓𝑓 =− 1𝐶𝐶𝐶𝐶𝐶
𝐶𝐶𝐶𝐶𝐶
∑
ℎ=1
logp ( ̃𝑦𝑦ℎ =𝑦𝑦 𝑖𝑖| ˜𝑥𝑥ℎ)
p ( ̃𝑦𝑦ℎ =𝑦𝑦 𝑖𝑖| ˜𝑥𝑥ℎ) =
exp(−𝑑𝑑( ̃𝑑𝑑ℎ,𝑝𝑝 𝑦𝑦𝑖𝑖 ))
∑
𝐶𝐶𝑠𝑠
𝑗𝑗𝑗𝑗 exp(−𝑑𝑑( ̃𝑑𝑑ℎ,𝑝𝑝 𝑗𝑗)) (13)
In these equations, ̃𝑧𝑧ℎ represents the embedding feature of the synthetic query sample ˜𝑥𝑥ℎ. The term 𝑝𝑝 ( ̃𝑦𝑦ℎ =𝑦𝑦 𝑖𝑖| ˜𝑥𝑥ℎ)
indicates the probability that the model correctly classifies the synthetic query sample ˜𝑥𝑥 into the class 𝑦𝑦𝑖𝑖. Addition-
ally, 𝑑𝑑 𝑑 𝑑𝑑𝑑ℎ,𝑝𝑝 𝑦𝑦𝑖𝑖 ) represents the Euclidean distance between the feature of the synthetic query sample ˜𝑥𝑥𝑖𝑖, and the class
prototype 𝑦𝑦𝑖𝑖. Because 𝑑𝑑 is a Euclidean distance (a non-negative dissimilarity), the SoftMax in Eqs. 13 and 14 use
exp(−𝑑𝑑𝑑, so that smaller distances yield higher class probabilities.
𝐿𝐿𝑘𝑘𝑓𝑓 =− 1𝐶𝐶𝐶𝐶𝐶
𝐶𝐶𝐶𝐶𝐶
∑
𝑧𝑧𝑧𝑧
logp( ̃𝑦𝑦ℎ =𝑦𝑦 𝑘𝑘 ∣ ˜𝑥𝑥ℎ)
𝑝𝑝𝑝 ̃𝑦𝑦ℎ =𝑦𝑦 𝑘𝑘 ∣ ˜𝑥𝑥ℎ)=
exp𝑝−𝑑𝑑𝑝 ̃𝑑𝑑ℎ,𝑝𝑝 𝑦𝑦𝑘𝑘 ))
∑
𝐶𝐶𝑠𝑠
𝑗𝑗𝑗𝑗 exp𝑝−𝑑𝑑𝑝 ̃𝑑𝑑ℎ,𝑝𝑝 𝑗𝑗)) (14)
Because synthetic query samples only partially represent the classes of the original samples involved in the
mixing process, the overall loss used to update the model is calculated as described in Eq. 15. This calculation
incorporates the values of 𝛿𝛿1 and 𝛿𝛿2 to balance the contributions of the losses 𝐿𝐿𝑖𝑖𝑓𝑓 and 𝐿𝐿𝑘𝑘𝑓𝑓 12.
𝐿𝐿𝐿𝐿𝐿 1𝐿𝐿𝑖𝑖𝑓𝑓 +𝐿𝐿 2𝐿𝐿𝑘𝑘𝑓𝑓 (15)
Classifier
The ViT-CNN-BS method uses SVM as its classifier, enhancing performance by finding an optimal hyperplane for
robust class separation42. In the few-shot setting Fig. 4, support labeled, and query unlabeled sets are constructed
Fig. 4 The evaluation procedure of the ViT-CNN-BS approach. The pipeline shows the construction of support and query
sets from the source and target domains, feature extraction via the mapping module and the hybrid feature extractor, and final
classification by the SVM.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
from target-domain HSIs, features are extracted via the mapping module and feature extractor, and the SVM
predicts query set classes using these features. We used an SVM classifier with the Radial Basis Function (RBF)
kernel. The parameter gamma was automatically determined according to the 'scale' setting, while the remaining
hyperparameters were kept at their default values (e.g., C = 1.0). These settings were selected based on prelimi -
nary experiments described in Section “ Description of datasets ” and were kept identical across all datasets to
ensure a fair and consistent evaluation.
Training and inference proceed in four stages. (i) Source-domain training: the mapping network and the CNN–
ViT feature extractor are trained on the fully labelled Chikusei source dataset using episodic few-shot tasks (C
classes with one support sample and M query samples per class, as defined in Section “Related Work”). Class pro-
totypes are computed as the mean of the support features (Eq. 12), and the few-shot loss of Eq. 15 is minimized
with the Adam optimizer (learning rate 0.001) for the first 1000 training iterations. (ii) Prototype construction
and loss: for each episode, the support-set features form the class prototypes, and the TransMix loss of Eq. 15
combines the two cross-entropy terms of Eqs. 13 and 14, weighted by δ₁ and δ₂ obtained from the attention-
based label mixing of Eqs. 10 and 11. (iii) Target-domain adaptation: for the remaining 2000 iterations, the same
episodic training is performed on the target-domain samples (200 augmented samples per class, generated from
the five labelled samples), which fine-tunes the feature extractor to the target domain. (iv) Final SVM fitting and
prediction: after episodic training, the trained feature extractor encodes the five labelled samples per class, and an
RBF-SVM (gamma = ‘scale’, C = 1.0) is fitted on these features (after min–max normalization) and used to clas -
sify the test samples. The Adam optimizer is therefore used exclusively to train the feature extractor and mapping
network, whereas the final classification is performed by the RBF-SVM; a prototype-based classifier is not used
during inference.
Experiments results and discussion
The experimental evaluation uses four public hyperspectral datasets (three target benchmark datasets: Indian
Pines, Pavia University, and Salinas, plus the Chikusei source dataset), covering dataset description, setup, met-
rics, and results. It concludes with an ablation study of the ViT-CNN-BS method.
Description of datasets
High-resolution satellite images require deep hierarchical representations to capture fine details 6. In this study,
Indian Pines shown in Fig. 5, Pavia University shown in Fig. 6, and Salinas shown in Fig. 7 serve as target data-
sets, while Chikusei is used as the source dataset for benchmarking and comparison shown in Fig. 843. Table 2
summarizes the benchmark HSI datasets.
Experimental setup
This research proposes a ViT-CNN-BS framework for HSI classification, integrating a new band selection
method, hybrid 2D CNN–ViT feature extraction, and SVM classification. The learning rate, batch size, and num-
ber of training iterations were selected empirically in preliminary experiments on the training (source) domain to
maximize validation accuracy and were not tuned on the target-domain test set. The band-selection parameters
(𝑝𝑝1,𝑝𝑝 2) and the number of retained principal components (𝑛𝑛𝑛𝑛𝑛𝑛) were fixed as follows: 𝑝𝑝1 = 150, 𝑝𝑝2 = 75, and 𝑛𝑛𝑛𝑛𝑛𝑛 𝑛 𝑛𝑛
for all 3 datasets. The indices of the selected original spectral bands for each dataset are provided in the accom -
panying source code in Table 3. The approach employs Xavier normalization, the Adam optimizer (LR = 0.001),
and a batch size of 100, with 3,000 training iterations per dataset to learn class prototypes. Five labels per class
are augmented to 200 samples, and experiments on Indian Pines, Salinas, and Pavia use fixed random seeds (10
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Fig. 6 Pavia University dataset. (a) False-color image composed of three spectral bands. ( b) Ground-truth image. (c) Land
cover categories along with the corresponding sample counts.
Fig. 5 Indian Pines dataset. (a) False-color image
composed of three spectral bands. (b) Ground-truth
image. (c) Land cover categories along with the cor-
responding sample counts.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Fig. 8 Chikusei dataset. ( a) False-color image composed of three spectral bands. ( b) Ground-truth image. ( c) Land cover
categories along with the corresponding sample counts.
Fig. 7 Salinas dataset. (a) False-
color image composed of three
spectral bands. (b) Ground-truth
image. (c) Land cover categories
along with the corresponding
sample counts.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
for Indian Pines and Salinas, and 5 for Pavia), with results evaluated by 𝐴𝐴𝐴𝐴, 𝑂𝑂𝑂𝑂𝑂 and 𝜅𝜅; implementation is done in
Python 3 on Kaggle (2 × T4 GPUs, 29 GB RAM).
Performance measures
For HSI classification, three widely utilized performance metrics are OA, AA, and κ statistic. OA is the propor -
tion of correctly predicted observations to the total number of observations, expressed as a percentage. It is cal -
culated using the formula:
𝑂𝑂𝑂𝑂 𝑂 #correctly predicted observations#total observations (16)
AA is the mean accuracy across all individual classes in a dataset. The formula is:
𝐴𝐴𝐴𝐴 𝐴 1𝑁𝑁
𝑁𝑁
∑
𝑁𝑁𝑁𝑁
#of correctly predicted observations in class n
#of total observations in class n (17)
where 𝑁𝑁 is the total number of output classes.
The κ statistic measures the performance of classification methods, particularly in multi-class or imbalanced
class scenarios. The formula for κ is:
𝜅𝜅𝜅 𝑞𝑞𝑜𝑜 −𝑞𝑞 𝑒𝑒
1−𝑞𝑞 𝑒𝑒 (18)
where 𝑞𝑞𝑜𝑜 represents the observed agreement OA, and 𝑞𝑞𝑒𝑒 is the expected probability of agreement due to chance.
The expected agreement 𝑞𝑞𝑒𝑒 is computed as:
𝑞𝑞𝑒𝑒 = ∑
𝑖𝑖
𝑞𝑞𝑝𝑝 (𝑖𝑖) 𝑞𝑞𝑔𝑔 (𝑖𝑖) (19)
where 𝑞𝑞𝑝𝑝 (𝑖𝑖) is the probability of predicting label i, and 𝑞𝑞𝑔𝑔 (𝑖𝑖) is the probability of the ground truth label being i44.
Table 2 Essential details about the benchmark HSI scenes.
Dataset Pixels Classes Sensor Image size Num of Bands Spatial resolution (m) spectral bands (µm)
Indian Pines 10,249 16 A VIRIS 145 × 145 200 20 0.4 to 2.5
Pavia University 42,776 9 ROSIS 610 × 340 103 1.3 0.43 to 0.86
Salinas 54,129 16 A VIRIS 512 × 217 204 3.7 0.4 to 2.5
Chikusei 77,592 19 Headwall Hyperspec-VNIR-C 2517 × 2335 128 2.5 0.343 to 1.018
The listed indices represent the 75 retained original spectral bands selected before PCA; PCA is subsequently applied to these bands to obtain
the final 30-dimensional representation.
Dataset Band selection
Indian Pines [156, 168, 151, 154, 152, 157, 146, 147, 173, 148, 149, 162, 166, 158, 159, 171, 187,
160, 186, 172, 153, 191, 189, 161, 155, 192, 145, 163, 174, 170, 150, 165, 164, 193, 167,
169, 183, 8, 2, 190, 176, 109, 196, 106, 5, 28, 184, 10, 188, 177, 110, 6, 195, 179, 178,
175, 185, 20, 181, 180, 107, 27, 7, 9, 182, 33, 25, 194, 14, 19, 140, 18, 108, 105, 99]
Pavia [71, 70, 72, 69, 73, 68, 74, 67, 66, 75, 82, 65, 76, 81, 77, 80, 78, 79, 64, 83, 63, 62, 86,
85, 88, 87, 89, 84, 61, 60, 90, 59, 58, 57, 91, 56, 55, 92, 95, 96, 94, 54, 93, 53, 97, 52,
51, 0, 98, 50, 49, 99, 48, 47, 100, 46, 45, 102, 101, 44, 43, 42, 41, 40, 39, 38, 37, 36, 34,
30, 35, 31, 1, 33, 32]
Salians [15, 18, 14, 16, 17, 106, 105, 13, 19, 37, 12, 11, 20, 104, 10, 9, 21, 8, 22, 23, 202, 147,
7, 24, 103, 199, 25, 201, 198, 200, 26, 137, 148, 197, 27, 195, 138, 28, 136, 30, 135, 31,
29, 185, 184, 189, 32, 33, 194, 139, 188, 203, 6, 187, 149, 196, 182, 146, 183, 180, 192,
181, 191, 186, 134, 193, 179, 133, 190, 34, 150, 140, 132, 151, 178]
Table 3 Selected original
spectral-band indices for the
three hyperspectral datasets.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Experimental results
The experiments conducted on four public HSI datasets (the Indian Pines, Pavia University, and Salinas target
datasets together with the Chikusei source dataset), conducted on four public HSI datasets, compare the proposed
ViT-CNN-BS method with several benchmark techniques, such as DFSL 11, CMFSL18, Gia-CFSL13, MRLF (C.
Liu, Yang1), HFSL15, and APNT12 shown in Tables 4, 5, and 6. To ensure a fair comparison, all baseline methods
(DFSL, CMFSL, Gia-CFSL, MRLF, HFSL, and APNT) were executed following their respective original public
implementations under the identical few-shot protocol and the same hardware and experimental settings as the
proposed method.
Table 4 Comparison outcomes on Indian Pines Dataset.
Class Method
DFSL CMFSL Gia-CFSL MRLF HFSL APNT ViT-CNN-BS
1 96.75 96.34 92.44 98.05 99.51 100.0 99.27
2 36.38 48.70 43.08 51.78 55.06 68.79 74.41
3 38.34 59.96 51.24 55.43 61.38 65.81 65.85
4 77.16 78.88 75.60 77.28 88.15 95.04 98.06
5 73.92 77.13 70.98 80.61 74.62 79.62 81.72
6 86.25 80.36 83.08 91.26 79.26 88.57 93.60
7 97.10 100.00 99.57 98.7 99.57 99.13 100.00
8 81.82 90.53 85.48 83.07 98.50 97.38 99.70
9 75.56 100.0 100.0 98.67 98.67 100.0 100.00
10 52.22 63.52 64.38 66.61 63.06 71.82 74.49
11 59.96 60.65 63.96 63.53 64.04 69.44 71.29
12 36.56 48.16 50.49 53.91 64.35 63.25 73.06
13 98.00 99.35 97.95 99.05 99.05 94.10 99.80
14 84.63 81.33 81.94 83.76 90.27 91.15 93.70
15 74.10 72.31 64.51 82.10 91.15 90.58 87.87
16 100.0 99.66 99.32 97.50 96.59 94.77 99.32
OA 61.69 66.85 65.70 69.46 71.74 77.07 80.13
AA 73.05 78.56 76.50 80.24 82.79 85.59 88.26
Κ 56.78 62.67 61.28 65.69 68.18 74.15 77.57
Significant values are in [bold].
Table 5 Comparison outcomes on Pavia Dataset.
Class Method
DFSL CMFSL Gia-CFSL MRLF HFSL APNT ViT-CNN-BS
1 73.43 81.10 81.13 78.27 75.14 88.50 89.59
2 89.25 83.35 77.47 83.54 88.62 77.74 78.49
3 48.09 68.52 64.94 68.83 82.05 82.12 81.51
4 84.22 90.04 91.60 93.11 92.08 96.13 92.03
5 98.65 98.51 98.97 98.71 98.46 98.21 92.03
6 67.31 76.04 62.83 79.72 84.29 92.16 93.64
7 64.18 80.46 77.33 88.26 85.43 97.12 98.88
8 67.17 77.57 68.78 73.19 95.06 85.84 93.14
9 91.42 97.13 96.84 95.06 97.41 91.15 98.92
OA 75.63 77.01 77.06 77.41 83.14 84.87 86.12
AA 75.41 81.29 79.99 83.74 88.17 89.88 90.91
Κ 70.05 74.05 70.63 73.40 78.27 80.89 82.49
Significant values are in [bold].
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Classification results of the Indian Pines dataset
On the Indian Pines dataset, ViT-CNN-BS outperforms APNT by 3.06% OA, 2.67% AA, and 3.42% Κ, achiev-
ing the best results in 81% of classes. Its hybrid ViT-CNN design, combined with band selection, enhances both
local–global feature extraction and pixel classification efficiency, demonstrating superior performance in HSI
classification in Table 4.
Classification results of the Pavia University dataset
On the Pavia dataset, ViT-CNN-BS surpasses Gia-CFSL, HFSL, and APNT by up to 9.06%, 2.98%, and 1.25%
in OA, 11.79%, 3.61%, and 1.9% in AA, and 11.86%, 4.22%, and 1.6% in Κ score, respectively, on the Pavia
dataset. Unlike Gia-CFSL (3D CNN + Gaussian noise) and HFSL (VGG-based classifier), ViT-CNN-BS lever -
ages CenterCrop and Resize augmentation and a hybrid ViT-CNN architecture, yielding more accurate pixel
classification in Table 5.
Classification results of the Salinas dataset
On the Salinas dataset Table 6, the ViT-CNN-BS method outperforms CMFSL and APNT, achieving gains of
4.05% and 0.39% in OA, 2.71% and 0.46% in AA, and 4.48% and 0.43% in κ, respectively.
Unlike CMFSL, which used LXConvNet without augmentation, ViT-CNN-BS reduces overfitting through
effective data augmentation.
Visual comparison
Figure 9 presents the visual classification results for the Indian Pines dataset, demonstrating a close correspon -
dence between the ViT-CNN-BS output and the ground truth. Figure 10 illustrates the classification map for the
Pavia dataset, where the ViT-CNN-BS model achieves strong agreement with the ground truth labels.
Table 6 Comparison outcomes on Salinas Dataset.
Class Method
DFSL CMFSL Gia-CFSL MRLF HFSL APNT ViT-CNN-BS
1 73.92 97.13 99.06 99.65 98.84 99.32 99.55
2 96.85 99.16 99.34 99.97 92.47 100.00 99.99
3 96.28 90.72 89.88 89.37 96.15 95.27 92.33
4 99.11 99.17 98.76 99.47 99.60 99.58 99.73
5 80.72 93.03 89.16 91.18 95.79 94.77 94.83
6 91.63 99.46 97.63 99.93 98.83 95.59 99.99
7 97.73 97.73 99.29 99.06 95.25 97.67 99.73
8 82.33 70.05 76.80 79.85 72.06 78.84 82.07
9 94.44 99.20 98.32 99.90 99.23 99.98 99.97
10 80.96 84.27 81.31 87.17 91.37 90.64 91.85
11 93.38 96.69 96.43 98.67 98.42 99.44 99.45
12 97.94 98.36 98.76 99.27 98.90 97.01 96.47
13 95.79 99.67 98.11 98.40 99.01 99.08 99.33
14 98.87 98.81 97.89 98.78 96.80 94.61 99.77
15 71.13 77.11 74.89 78.08 82.29 84.31 78.31
16 90.57 87.08 82.14 92.5 91.51 97.51 97.69
OA 86.95 87.99 88.45 90.79 89.43 91.65 92.04
AA 90.08 92.98 92.36 94.77 94.16 95.23 95.69
Κ 85.51 86.67 87.16 89.69 88.28 90.72 91.15
Significant values are in [bold].
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Figure 11 depicts the visual classification results for the Salinas dataset, showing that the ViT-CNN-BS pre -
dictions closely match the reference ground truth. The method reduces boundary misclassifications and achieves
clearer class separations, confirming its effectiveness in improving overall HSI classification accuracy.
Time complexity
Table 7 compares inference times, showing that ViT-CNN-BS achieves faster training and competitive testing
speeds. This efficiency stems from the parallel processing capabilities of the transformer architecture. All runtime
measurements were obtained on the identical hardware and software environment (Python 3 on Kaggle, 2 × T4
GPUs, 29 GB RAM) described in the Experimental Setup, with every method trained and tested under the same
settings.
Ablation study
To analyze the impact of each module in ViT-CNN-BS method, we conducted six ablation experiments, with the
results summarized in Table 8.
A) Band selection
Fig. 9 The Indian Pines dataset includes data visualization and classification diagrams of target scenes, featuring: (a) ground
truth map, (b) DFSL (61.69%), (c) CMFSL (66.85%), (d) Gia-CFSL (65.70%), (e) MRLF (69.46%), (f) HFSL (71.74%), (g)
APNT (77.07%), and (h) ViT-CNN-BS (80.13%).
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
In the first experiment, we used all spectral bands to analyze the contribution of the introduced band selection
technique. The results showed that our band selection method improved the overall accuracy (OA) by 2.13%,
6.04%, and 1.25% for the Indian Pines, Pavia, and Salinas datasets, respectively.
B) Data augmentation
The second and third experiments showed that modifying data augmentation caused notable performance
drops, with OA reductions of 4.1%, 0.8%, and 1.03% for the Indian Pines, Pavia, and Salinas datasets, respec-
tively. Moreover, the fourth experiment applies ViT-CNN-BS without data augmentation, reducing OA by
1.37% (Indian Pines), 0.38% (Pavia), and 0.16% (Salinas) using 5 labels per class.
Fig. 10 The Pavia dataset includes data visualization and classification diagrams of target scenes, featuring: (a) ground truth
map, ( b) DFSL (75.63%), ( c) CMFSL (77.01%), ( d) Gia-CFSL (77.06%), ( e) MRLF (77.41%), ( f) HFSL (83.14%), ( g)
APNT (84.87%), and (h) ViT-CNN-BS (86.12%).
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
C) Feature extraction
The fifth and sixth experiments confirmed the effectiveness of the hybrid 2D CNN-ViT module, which out -
performed its variants. Excluding the 2D CNN reduced OA by 1.1% (Indian Pines), 0.9% (Pavia), and 0.95%
(Salinas), while replacing it with 3D CNN-ViT caused larger drops of 3.86%, 8.89%, and 4.07%, highlighting
the superiority of combining local and global features for accurate HSI classification.
D) Classifier
Fig. 11 The Salinas dataset includes data visualization and classification diagrams of target scenes, featuring: ( a) ground
truth map, (b) DFSL (86.95%), (c) CMFSL (87.99%), (d) Gia-CFSL (88.45%), (e) MRLF (90.79%), (f) HFSL (89.43%), (g)
APNT (91.65%), and (h) ViT-CNN-BS (92.04%).
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
In the seventh experiment, replacing the SVM classifier with an MLP reduced OA by 1.41% (Indian Pines),
3.42% (Pavia), and 0.19% (Salinas), confirming SVM superior handling of spectral non-linearity 45. Overall,
the results in Table 8 highlight that our ViT-CNN-BS method consistently outperforms all variations across
diverse HSI datasets.
Conclusion
This study introduces a band selection method to identify crucial bands that separate classes by utilizing the
pronounced distance between their respective band distributions. The crop transforms and resizes techniques
are employed in data augmentation to increase sample size and reduce overfitting. To effectively leverage both
spectral and spatial features from limited training samples, a new method, ViT-CNN-BS, is proposed to enhance
hyperspectral image classification performance. Evaluation of ViT-CNN-BS showed notable enhancements in
classification accuracy across three hyperspectral image datasets, achieving 80.13%, 86.12%, and 92.04% for
Indian Pines, Pavia, and Salinas datasets, respectively. The ViT-CNN-BS method improves both classification
accuracy and training efficiency. Future work will focus on developing an adaptive band selection mechanism
to automatically determine the optimal number of bands, eliminating the need for manual parameterization. We
also plan to explore neural architecture search (NAS) to design even more efficient hybrid models and investigate
advanced spectral-spatial augmentation strategies to better simulate real-world variance. Extending the frame -
work's robustness to noisy data and its application to a wider range of remote sensing tasks, such as semantic
segmentation and object detection in HSI, presents another promising direction. Future work will also investigate
further model optimization so that near-real-time HSI processing onboard satellites and drones becomes feasible.
Table 7 Comparison of computational times among various methods.
Method CMFSL Gia-CFSL MRLF HFSL APNT ViT-CNN-BS
Dataset Indian Pines
Train(s) 780.73 1873.94 1068.30 3806.52 668.02 205.03
Test(s) 2.53 2.37 2.06 4.61 1.51 0.73
Dataset Pavia
Train(s) 646.82 1176.31 630.65 1989.72 386.34 170.17
Test(s) 8.95 9.86 7.07 10.44 5.71 2.87
Dataset Salinas
Train(s) 1173.25 1943.89 1513.54 3511.39 502.278 234.64
Test(s) 6.35 13.71 10.22 14.51 7.03 3.75
Significant values are in [bold]
Table 8 Ablation results of the ViT-CNN-BS method on three datasets.
Case Indian Pines Pavia Salinas
OA AA Κ OA AA Κ OA AA Κ
All Band 78.00 87.08 75.23 80.08 87.25 74.94 90.79 94.77 89.69
Augmentation (Gaussian) 76.03 85.38 73.03 85.31 90.79 81.41 91.01 95.75 91.12
Augmentation (EMG) 71.75 82.01 68.27 81.56 87.91 76.78 90.93 95.07 89.92
Without Augmentation 78.76 86.31 76.14 85.74 90.14 81.20 91.88 95.40 90.89
ViT + 3DCNN 76.27 85.59 73.34 77.23 80.08 71.38 87.97 91.37 86.67
ViT 79.03 87.00 76.50 85.28 87.84 81.48 91.09 94.73 90.27
Classifier (MLP) 78.72 86.43 76.03 82.70 89.05 78.21 91.85 95.92 90.94
ViT-CNN-BS 80.13 88.26 77.57 86.12 90.91 82.49 92.04 95.69 91.15
Significant values are in [bold]
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Author contributions E. A. and A. H. wrote the original draft of the manuscript. T. A. reviewed and edited the text. E. A.
and A. H. also prepared all the figures. T. A. reviews the methodology and is also responsible for project administration.
Funding This research received no external funding.
Data availability The datasets analyzed during the current study are publicly available in the Hyperspectral Remote Sens -
ing Scenes repository: http://www.ehu.eus/ccwintco/index.php/Hyperspectral_Remote_Sensing_Scenes
Declarations
Competing interests The authors declare no competing interests.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use,
sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the
original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The
images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated
otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your
intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly
from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
References
- Li, J., Zhang, Z., Song, R., Li, Y . & Du, Q. SCFormer: Spectral coordinate transformer for cross-domain few-shot
hyperspectral image classification. IEEE Trans. Image Process. https://doi.org/10.1109/tip.2024.3351443 (2024). - Huang, L., Chen, Y ., & He, X. Spectral-spatial masked transformer with supervised and contrastive learning for
hyperspectral image classification. IEEE Transactions on Geoscience and Remote Sensing. (2023) - Aljabri, A. A., Alshanqiti, A., Alkhodre, A. B., Alzahem, A. & Hagag, A. Extracting feature fusion and co-saliency
clusters using transfer learning techniques for improving remote sensing scene classification. Optik 273, 170408 (2023). - Chaib, S. et al. On the co-selection of vision transformer features and images for very high-resolution image scene
classification. Remote Sens. 14(22), 5817 (2022). - Hagag, A., Omara, I., Chaib, S., Ma, G. & Abd El-Samie, F. E. Dual link distributed source coding scheme for the
transmission of satellite hyperspectral imagery. J. Vis. Commun. Image Represent. 78, 103117 (2021). - Hamida, A. B., Benoit, A., Lambert, P. & Amar, C. B. 3-D deep learning approach for remote sensing image classification.
IEEE Trans. Geosci. Remote Sens. 56(8), 4420–4434 (2018). - Shawky, O. A., Hagag, A., El-Dahshan, E.-S.A. & Ismail, M. A. Remote sensing image scene classification using CNN-
MLP with data augmentation. Optik 221, 165356 (2020). - Sun, W. & Du, Q. Hyperspectral band selection: A review. IEEE Geosci. Remote Sens. Mag. 7(2), 118–139 (2019).
- Qin, A. et al. Few-shot learning with prototype rectification for cross-domain hyperspectral image classification. IEEE
Trans. Geosci. Remote Sens. https://doi.org/10.1109/tgrs.2024.3414392 (2024). - Li, Y . et al. Hyperspectral image classification based on faster residual multi-branch spiking neural network. Comput.
Geosci. 197, 105864 (2025). - Liu, B. et al. Deep few-shot learning for hyperspectral image classification. IEEE Trans. Geosci. Remote Sens. 57(4),
2290–2304 (2018). - Liu, C., Yang, L., Dong, D., Li, Z., Yang, W., Han, Z., & Wang, J. Augmenting Prototype Network with TransMix for
Few-shot Hyperspectral Image Classification. arXiv preprint https://arxiv.org/abs/2401.11724. (2024) - Zhang, Y . et al. Graph information aggregation cross-domain few-shot learning for hyperspectral image classification.
IEEE Trans. Neural Netw. Learn. Syst. https://doi.org/10.1109/tnnls.2022.3185795 (2022). - Iyer, P., Sriram, A. & Lal, S. Deep learning ensemble method for classification of satellite hyperspectral images. Remote
Sens. Appl. Soc. Environ. 23, 100580 (2021). - Wang, Y . et al. Heterogeneous few-shot learning for hyperspectral image classification. IEEE Geosci. Remote Sens. Lett.
19, 1–5 (2021). - Fırat, H., Asker, M. E. & Hanbay, D. Classification of hyperspectral remote sensing images using different dimension
reduction methods with 3D/2D CNN. Remote Sens. Appl. Soc. Environ. 25, 100694 (2022). - Arun Solomon, A. & Agnes, S. A. Land-cover classification with hyperspectral remote sensing image using CNN and
spectral band selection. Remote Sens. Appl. Soc. Environ. 31, 100986 (2023).
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
18. Xi, B. et al. Few-shot learning with class-covariance metric for hyperspectral image classification. IEEE Trans. Image
Process. 31, 5079–5092 (2022).
19. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Polosukhin, I. Attention is all you need. Adv.
Neural Inf. Process. Syst. 30 (2017).
20. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Gelly, S. An image is worth 16x16
words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929. (2020).
21. Hong, D. et al. SpectralFormer: Rethinking hyperspectral image classification with transformers. IEEE Trans. Geosci.
Remote Sens. 60, 1–15 (2021).
22. Zhao, Y ., Sun, J., Hu, N., Zai, C. & Han, Y . Residual channel attention based sample adaptation few-shot learning for
hyperspectral image classification. Sci. Rep. 14(1), 26746 (2024).
23. Zhao, T., Sun, M., Wang, H., Chen, X., & Zhou, X. Pruning and malicious injection: A retraining-free backdoor attack on
transformer models. arXiv preprint arXiv:2508.10243. (2025)
24. Dong, Y . et al. Implicit point-to-voxel LiDAR-IMU SLAM. IEEE Trans. Autom. Sci. Eng. 23, 8097–8110 (2026).
25. Wang, H., Lin, Y ., Lu, L., Gao, Z. & Han, B. NIUIE: Non-uniform illumination underwater image enhancement via
illumination component estimation. IEEE Trans. Geosci. Remote Sens. https://doi.org/10.1109/tgrs.2026.3672111 (2026).
26. Zhao, Z.-L. & Zhang, R.-F. Artificial intelligence-enhanced mathematical derivation method: Exact solutions of the
Benjamin–Bona–Mahony equation. Eng. Appl. Artif. Intell. 173, 114464 (2026).
27. Wang, J., Liu, Y ., Yan, L., Han, K., Feng, L., & Zhang, R. Fractional sub-equation neural networks (fSENNs) method for
exact solutions of space–time fractional partial differential equations. Chaos: Int. J. Nonlinear Sci. 35(4). (2025)
28. Zhang, H., Zhang, R. & Liu, Q. A novel multi-modal neurosymbolic reasoning intelligent algorithm for BLMP equation.
Chin. Phys. Lett. 42(10), 100002 (2025).
29. Yan, Z., Fan, Q., Zhang, Q. & Xu, L. Numerical and experimental investigation of bionic fairing for hydrodynamic
performance optimization in amphibious unmanned platforms. Ocean Eng. 349, 124049 (2026).
30. Yan, Z. et al. Development and testing of a wearable passive lower-limb support exoskeleton to support industrial
workers. Biocybern. Biomed. Eng. 41(1), 221–238 (2021).
31. Mishra, S. P. et al. Multivariate statistical data analysis-principal component analysis (PCA). Int. J. Livestock Res. 7(5),
60–78 (2017).
32. Abdelhafez, E. N., Hagag, A. & Abassy, T. A. Unsupervised band selection based on covariance matrix for hyperspectral
image classification. Adv. Space Res. 77(2), 1490–1506 (2026).
33. Alomar, K., Aysel, H. I. & Cai, X. Data augmentation in classification and segmentation: A survey and new strategies. J.
Imaging 9(2), 46 (2023).
34. Hu, R., Zhang, S., Wang, P., Xu, G., Wang, D., & Qian, Y . The identification of corn leaf diseases based on transfer
learning and data augmentation. Paper presented at the Proceedings of the 3rd International Conference on Computer
Science and Software Engineering. (2020)
35. Severinsson, S. Data driven augmentation for deep learning applications. (2023)
36. Arshad, T., Zhang, J. & Ullah, I. A hybrid convolution transformer for hyperspectral image classification. Eur. J. Remote
Sens. 57(1), 2330979 (2024).
37. Khan, A., Sohail, A., Zahoora, U. & Qureshi, A. S. A survey of the recent architectures of deep convolutional neural
networks. Artif. Intell. Rev. 53, 5455–5516 (2020).
38. Krichen, M. Convolutional neural networks: A survey. Computers 12(8), 151 (2023).
39. Liao, D., Shi, C. & Wang, L. A complementary integrated transformer network for hyperspectral image classification.
CAAI Trans. Intell. Technol. 8(4), 1288–1307 (2023).
40. Han, K. et al. A survey on vision transformer. IEEE Trans. Pattern Anal. Mach. Intell. 45(1), 87–110 (2022).
41. Khan, S. et al. Transformers in vision: A survey. ACM Comput. Surv. (CSUR) 54(10s), 1–41 (2022).
42. Hasan, H., Shafri, H. Z., & Habshi, M. A comparison between support vector machine (SVM) and convolutional neural
network (CNN) models for hyperspectral image classification. Paper presented at the IOP Conference Series: Earth and
Environmental Science. (2019).
43. Peng, Y ., Liu, Y ., Tu, B. & Zhang, Y . Convolutional transformer-based few-shot learning for cross-domain hyperspectral
image classification. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 16, 1335–1349 (2023).
44. Rani, K. & Kumar, S. Hyperspectral image classification using a new deep learning model based on pseudo-3D block and
depth separable 2D–3D convolution. Eng. Appl. Artif. Intell. 130, 107738 (2024).
45. Grewal, R., Singh Kasana, S. & Kasana, G. Machine learning and deep learning techniques for spectral spatial
classification of hyperspectral images: A comprehensive survey. Electronics 12(3), 488 (2023).
46 Liu, C., Yang, L., Li, Z., Yang, W., Han, Z., Guo, J., & Yu, J. Multi-level relation learning for cross-domain few-shot
hyperspectral image classification. Appl. Intell. 1–19. (2024).
Publisher's note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional
affiliations.
Article in Press
Scientific Reports
https://doi.org/10.1038/s41598-026-72102-z
Authors and Affiliations
Eman N. Abdelhafez1 · Ahmed Hagag1,2 · Tamer A. Abassy1
Ahmed Hagag
a.hagag@aou.edu.eg; ahagag@fci.bu.edu.eg
1 Department of Scientific Computing, Faculty of Computers and Artificial Intelligence, Benha University,
Benha 13518, Egypt
2 Information Technology and Computing Program, Faculty of Computer Studies, Arab Open University,
El-Shorouk 11211, Egypt
论文原文与出版信息
Scientific Reports