The issues of the same material with different spectra and the same spectra for different materials pose challenges in hyperspectral rock classification. This paper proposes a multidimensional feature network based on 2-D convolutional neural networks (2-D CNNs) and recurrent neural networks (RNNs) for achieving deep combined extraction and fusion of spatial information, such as the rock shape and texture, with spectral information. Experiments are conducted on a hyperspectral rock image dataset obtained by scanning 81 common igneous and metamorphic rock samples using the HySpex hyperspectral sensor imaging system to validate the effectiveness of the proposed network model. The results show that the model achieved an overall classification accuracy of 97.925% and an average classification accuracy of 97.956% on this dataset, surpassing the performances of existing models in the field of rock classification.
To address overfitting due to limited sample size, and the challenges posed by “Spectral Homogeneity with Material Heterogeneity (SHMH)” and “Material Consistency with Spectral Divergence (MCSD)”—which arise from subtle spectral differences and limited classification accuracy—this study proposes a deep integration model that combines the Adaptive Boosting (AdaBoost) algorithm with a convolutional recurrent neural network (CRNN). The model adopts a dual-branch architecture integrating a 2D-CNN and gated recurrent unit to effectively fuse spatial and spectral features of rock samples, while the integration of the AdaBoost algorithm optimizes performance by enhancing system stability and generalization capability. The experiment used a hyperspectral dataset containing 81 rock samples (46 igneous rocks and 35 metamorphic rocks) and evaluated model performance through five-fold cross-validation. The results showed that the proposed 2D-CRNN-AdaBoost model achieved 92.55% overall accuracy, which was significantly better than that of other comparative models, demonstrating the effectiveness of multimodal feature fusion and ensemble learning strategy.
Fine-grained hyperspectral mineral classification remains challenging due to spectral homogeneity among minerals with different morphologies, severe spectral mixing from intergrowth, and high dimensionality. Existing methods rely on spectral separability assumptions, which become insufficient when spectral differences are subtle and spatial–structural ambiguity is high. To address these limitations, we propose S3AM-ECA-3DCNN, a spectral–structural collaborative feature learning framework. It uses a 3DCNN backbone to jointly model spectral–spatial features with progressive spectral downsampling. The spectral-similarity-based spatial attention module (S3AM) performs spatial purification by suppressing interference from spectrally mixed neighboring regions, and the efficient channel attention (ECA) module adaptively recalibrates discriminative spectral bands to enhance fine-grained representation. This establishes a spatial-first, channel-second collaborative optimization paradigm. To improve generalization under limited training samples, adaptive global pooling and a lightweight classification head are employed to reduce model complexity and mitigate overfitting. Experiments on a 146-class hyperspectral mineral dataset (covering silicates, carbonates, and sulfates) show that the framework achieves 93.424% overall accuracy, 91.099% average accuracy, and a Kappa coefficient (×100) of 93.368, outperforming mainstream methods. It significantly reduces misclassification among spectrally similar but morphologically distinct minerals, demonstrating strong robustness and discriminative capability for large-scale fine-grained tasks.