Hyperspectral image classification model based on shaping-sequence attention and spatial proximity feature selection
Patent Information
- Application Number
- CN202410652340.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN118570531A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hyperspectral image classification, and in particular to a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection. Background Art
[0002] Hyperspectral images have hundreds of spectral bands and can collect and monitor rich spectral and spatial information on the earth's surface. This valuable information has promoted the widespread application of hyperspectral images, including environmental observation, resource assessment, and urban development monitoring. Hyperspectral image classification, as one of the important tasks of hyperspectral images in the field of remote sensing, has attracted the attention of a large number of researchers in the past few decades. Early classification methods mainly focused on spectral features. However, these traditional methods extract features of raw data with shallow models, and it is difficult to achieve substantial improvement in results. Therefore, a more effective method is needed to classify hyperspectral images.
[0003] In recent years, deep learning algorithms have successfully broken the limitations of traditional feature extraction techniques. They can automatically extract hierarchical features from data and have made significant progress in fields such as computer vision and natural language processing. However, due to the rich spatial and spectral features and strong redundancy contained in hyperspectral images, it is still a difficult task to train a robust hyperspectral image classification model using deep neural networks.
[0004] Therefore, the traditional hyperspectral image classification method cannot fully utilize the rich spectral and spatial information in hyperspectral images and has low classification accuracy. Summary of the invention
[0005] Based on this, in order to solve the above technical problems, a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection is provided, which can improve information utilization and image classification accuracy.
[0006] A hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection, the system comprises: a spatial sub-network, a spectral sub-network, and an image classification part, wherein:
[0007] The spatial subnetwork includes a two-dimensional convolution layer, a ReLU activation function layer, a shaping attention module, and a spatial neighbor feature selection module; after the hyperspectral image to be classified is input, a dimension reduction process is performed through principal component analysis, and a spatial block centered on the processed hyperspectral image pixel to be classified is used as input, and a spatial feature vector is generated through the two-dimensional convolution layer, the ReLU activation function layer, the shaping attention module, and the spatial neighbor feature selection module;
[0008] The spectral sub-network includes a one-dimensional convolution layer and a sequence attention module; the spectral vector of the processed hyperspectral image pixel to be classified is used as input, and a spectral feature vector is generated through the one-dimensional convolution layer and the sequence attention module;
[0009] The image classification part includes a fully connected layer, and the spatial feature vector and the spectral feature vector are input into the fully connected layer for classification to obtain a hyperspectral image classification result.
[0010] In one of the embodiments, the shaping attention module includes a first convolutional layer, a first pooling layer, a first activation layer, a shaping attention block, and a first loss function layer.
[0011] In one of the embodiments, input data enters the convolution layer, maximum pooling or average pooling is performed in the pooling layer, and the feature vector is linearly transformed into a query set and a key set after layer normalization. Feature correction is performed in the shaping attention block, and the main elements are added to the output of the feedforward neural network to achieve aggregation of contextual space features.
[0012] In one of the embodiments, the spatial proximity feature selection module includes a proximity selection block and a Tanh-derivative activation function.
[0013] In one embodiment, the Minkowski distance is used to analyze whether the central pixel and the adjacent pixels in the processed hyperspectral image pixels to be classified belong to the same category; and the similarity between the central pixel and the adjacent pixels belonging to the same category is converted into a spatial weight through the Tanh-derivative activation function.
[0014] In one of the embodiments, the sequence attention module includes a second convolutional layer, a second pooling layer, a second activation layer, a sequence attention block, a BN layer, and a second loss function layer.
[0015] In one embodiment, the spectral vector of the processed hyperspectral image pixel to be classified is input, processed by the second convolution layer, batch normalized and processed by the second activation layer to generate a spectral feature vector.
[0016] In one of the embodiments, the image classification part also includes a dropout layer and a third activation layer.
[0017] In one of the embodiments, the spatial feature vector and the spectral feature vector are input into the fully connected layer, and processed through the dropout layer and the third activation layer to obtain a hyperspectral image classification result.
[0018] The above-mentioned hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection screens the spatial-spectral features in the hyperspectral image through the shaping attention module, the spatial neighbor feature selection module and the sequential attention module, and fuses them through the image classification part to adaptively highlight the valuable information in the feature extraction process and suppress useless information, thereby improving the utilization of information in the hyperspectral image and thus improving the image classification accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A network structure diagram of a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection in one embodiment;
[0020] Figure 2 A network structure diagram of a forming attention module in one embodiment;
[0021] Figure 3 A diagram of the reasoning process of forming attention in one embodiment;
[0022] Figure 4 A network structure diagram of a spatial proximity feature selection module in one embodiment;
[0023] Figure 5 A network structure diagram of a sequence attention module in one embodiment;
[0024] Figure 6 FIG. 4 is a network structure diagram of the image classification part in one embodiment. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] It is understood that the terms "first", "second", etc. used in this application may be used in this article to describe convolutional layers, pooling layers, activation layers, and loss function layers, but these convolutional layers, pooling layers, activation layers, and loss function layers are not limited by these terms. These terms are only used to distinguish the first convolutional layer, pooling layer, activation layer, and loss function layer from another convolutional layer, pooling layer, activation layer, and loss function layer. For example, without departing from the scope of this application, the first convolutional layer may be referred to as the second convolutional layer, and similarly, the second convolutional layer may be referred to as the first convolutional layer. Both the first convolutional layer and the second convolutional layer are convolutional layers, but they are not the same convolutional layer.
[0027] like Figure 1As shown, in one embodiment, a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection can be composed of three parts, including: a spatial sub-network 100, a spectral sub-network 200, and an image classification part 300, wherein:
[0028] The spatial subnetwork 100 includes a two-dimensional convolution layer, a ReLU activation function layer, a shaping attention module 110, and a spatial neighbor feature selection module 120. After the hyperspectral image to be classified is input, a dimension reduction process is performed through principal component analysis, and a spatial block centered on the processed hyperspectral image pixel to be classified is used as input, and a spatial feature vector is generated through a two-dimensional convolution layer, a ReLU activation function layer, a shaping attention module 110, and a spatial neighbor feature selection module 120.
[0029] The spectral sub-network 200 includes a one-dimensional convolution layer and a sequence attention module 210; the spectral vector of the processed hyperspectral image pixel to be classified is used as input, and a spectral feature vector is generated through the one-dimensional convolution layer and the sequence attention module;
[0030] The image classification part 300 includes a fully connected layer, and the spatial feature vector and the spectral feature vector are input into the fully connected layer for classification to obtain a hyperspectral image classification result.
[0031] The hyperspectral image (HSI) to be classified can be input into a hyperspectral image classification model based on shaped-sequential attention and spatial neighbor feature selection provided in this embodiment, and firstly, principal component analysis (PCA) is used for dimensionality reduction. For the hyperspectral image pixel to be classified, the spatial block centered on it can be used as the input of the spatial sub-network, and through a two-dimensional convolution layer (Conv2D), a ReLU activation function layer, a shaped attention module 110 and a spatial neighbor feature selection (SPFSM) module 120, complex strong discriminant spatial features can be finally generated. At the same time, the spectral vector of the hyperspectral image pixel to be classified is used as the input of the spectral sub-network 200, and through a one-dimensional convolution layer (Conv1D) and a sequence attention module 210, a significant spectral feature vector can be finally generated. Then, the extracted strong discriminant spatial features and spectral feature vectors are sent to the fully connected (FC) network for classification.
[0032] After a hyperspectral image classification model based on forming-sequential attention and spatial neighbor feature selection is established in this embodiment, the parameters can be initialized using normalization and regularized using an L2 weight decay penalty. The hyperspectral image classification model network based on forming-sequential attention and spatial neighbor feature selection can be trained in an end-to-end manner, and during the training process, the diffGrad optimizer is used to update the network parameters by back-propagating the gradient of the cross entropy loss function.
[0033] In one embodiment, Figure 2 As shown, the shaping attention module 110 includes a first convolutional layer, a first pooling layer, a first activation layer, a shaping attention block 112, and a first loss function layer. Wherein, F represents the input of the module, and F RSaAM Indicates the corresponding output.
[0034] Since exploring discriminative spatial feature representations is crucial for more effective hyperspectral image classification, and in two-dimensional convolutional neural networks (CNNs), some of the spatial information around the pixels to be classified is useless interference information because these neighboring pixels have different categories from the central pixel. During the convolution operation, these neighboring pixels will have a negative impact on feature learning.
[0035] By setting up the shaping attention module 110, attention inference is performed by measuring the local similarity between the central feature and the features in the cross-shaped area of different scales around it, and appropriate weights are assigned to different pixels. This can adaptively enhance the long-distance features related to the central pixel, while suppressing unnecessary spatial features to improve the spatial feature representation related to the central pixel.
[0036] In one embodiment, the reasoning process of forming attention is as follows: the input data enters the convolution layer, the maximum pooling or average pooling is performed in the pooling layer, the feature vector is linearly transformed into a query set and a key set after layer normalization, feature correction is performed in the forming attention block, and the main elements are added to the output of the feedforward neural network to achieve aggregation of contextual space features.
[0037] The reasoning process of forming attention is as follows Figure 3 As shown, the features after maximum pooling or average pooling are received, and layer normalization (Norm) is first performed. Then, the features are linearly transformed into query set (Q) and key set (K). In the forming attention block, the spatial pixels related to the center pixel are paid attention to, and the original features are corrected; finally, they are added element by element with the output of the feedforward neural network to realize the aggregation of contextual spatial features. Figure 3 In , H represents the number of attention module heads.
[0038] In one embodiment, the spatial neighbor feature selection module includes a neighbor selection block and a Tanh-derivative activation function. Figure 4 As shown in Figure 1, the spatial neighbor feature selection module is designed to capture the spatial area related to the central pixel. It is a lightweight module that mainly includes a neighbor selection block and a Tanh-derivative activation function.
[0039] In one embodiment, when the spatial neighbor feature selection module is used to capture the spatial region related to the central pixel, the central pixel and the adjacent pixels in the hyperspectral image pixels to be classified after Minkowski distance analysis are used to determine whether they belong to the same category; the similarity between the central pixel and the adjacent pixels belonging to the same category is converted into a spatial weight through the Tanh-derivative activation function. The mathematical definition of the Tanh-derivative activation function is expressed as:
[0040] The classification of hyperspectral images may be affected by environmental factors such as atmospheric transmittance and water vapor. The Minkowski distance with relaxation variables is used to analyze the possibility that pixels belong to the same category, which can reduce the impact of environmental factors.
[0041] Since hyperspectral images contain rich spectral information, there are inevitably some correlations between spectral bands. The convolution kernel in a one-dimensional CNN can only represent local cross-channel interactions and cannot explore the correlations between spectral bands. Therefore, by setting up a sequence attention module, based on the global dependency between bands, the key bands are determined and applied to local spectral features to enhance the discriminability. In one embodiment, Figure 5 As shown, the sequence attention module 210 includes a second convolutional layer, a second pooling layer, a second activation layer, a sequence attention block 212, a BN layer, and a second loss function layer.
[0042] In one embodiment, when the sequence attention module is used to enhance the discriminability of spectral features, the spectral vector of the pixel of the hyperspectral image to be classified is input and processed by the second convolution layer, and then processed by batch normalization and the second activation layer to generate a spectral feature vector.
[0043] Specifically, for the input spectral feature vector τ', the process inside the sequence attention module is as follows:
[0044] τ' CBR =CBR(F')
[0045]
[0046]
[0047]
[0048]
[0049] Among them, CBR(·) means that the features are processed by convolution layer, batch normalization and ReLU activation function layer respectively, and CRC(·) means that convolution layer, ReLU activation function layer and convolution layer are combined in sequence.
[0050] In one embodiment, the image classification part includes a dropout layer and a third activation layer in addition to a fully connected (FC) layer. Figure 6 As shown in the figure, since the image classification part needs to receive two data, the spatial feature vector and the spectral feature vector, the image classification part receives and adds inputs from the two sub-network systems, and these features are passed to the fully connected (FC) layer, the dropout layer, and the ReLU activation function layer. Figure 6 As shown, the number of neurons in the last FC layer is equal to the number of classes, and the value of each neuron can be regarded as a class-specific response.
[0051] In one embodiment, an experiment is conducted on a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection. The specific experimental process includes:
[0052] The Indian Pines (IN), Loukia (LK) and Botswana (BW) datasets are used for experimental research. All three are the most classic datasets in the field of hyperspectral remote sensing image classification. The dataset IN includes 16 vegetation categories with 145×145 pixels and a resolution of 20m pixels. 20 bands damaged by water absorption effects have been discarded, and the remaining 200 bands are used for analysis, ranging from 400 to 2500nm. The dataset LK includes 14 vegetation categories with 250×1376 pixels and a resolution of 30m pixels. 220 bands are used in the experiment. The dataset BW consists of 1476×256 pixels and 242 spectral bands ranging from 0.4 to 2.5μm. The spatial and spectral resolutions are 30m / p and 10nm, respectively. By removing the uncalibrated and noise bands covering the water absorption features, 145 bands remain.
[0053] The experiments were conducted on a computer equipped with an Intel(R) Xeon(R) Gold 5218 CPU, 2.30 GHz, 64 GB RAM and an NVIDIA GeForce RTX 3090 graphics processing unit (GPU), 24 GB RAM. The software environment was Ubuntu 14.04 Ultimate 64-bit system, and the deep learning framework was Pytorch.
[0054] To quantify the classification performance of the method, the overall accuracy (OA), average accuracy (AA) and Kappa coefficient (Kappa) were used. The higher the score obtained, the better the performance of the model.
[0055] During the experiment, a series of experiments are used to analyze the contributions of the proposed shaping attention network, sequence attention network and SPFSM. In order to explore the correlation between the three modules and their impact on classification performance, eight schemes with different combinations of the three modules are implemented on three datasets. The OA of these schemes on the test set is shown in the following table:
[0056] Ablation test results of the model on three datasets
[0057]
[0058] The spatial-spectral residual network is the basic network (Baseline). The last scheme, Scheme 8, is a hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection provided by this application. The numbers reported in bold indicate the best results for each dataset. Compared with the Baseline, the OA of other schemes has been improved, which shows the effectiveness of the proposed module; unlike a single module, a higher OA can be obtained when multiple modules are combined. Scheme 8 achieved the best classification accuracy on the three datasets compared with other combinations; compared with Scheme 6 and Scheme 7, the model using both the pyramid attention network and SPFSM achieved better results than the model with a single module, indicating the necessity of using these two modules at the same time.
[0059] In order to evaluate the performance of the proposed hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection, it is compared with other existing methods, such as support vector machine (SVM), CNN, deep feature fusion network (DFFN), CNN with mapping layer (MCNN), spectral-spatial residual network (SSRN), fast dense spectral spatial convolution (FDSSC), local spectral features and multi-scale spatial features network (LSMSC), adaptive spectral-spatial multi-scale network (ASSMN), dual-branch multi-attention mechanism network (DBMA), dual-branch dual-attention mechanism network (DBDA), cross-attention spectral-spatial network (CASSN) and adaptive spectral-spatial network kernel improved residual network (A2S2KResNet) based on attention. Specifically, CNN is a traditional spectral-spatial network; SSRN and FDSSC are based on ResNet and DenseNet respectively; LSMSC and ASSMN are spectral-spatial multi-scale networks; DBMA, DBDA, CASSN and A2S2KResNet are spectral-spatial attention networks. Among them, the comparison results are shown in the following table:
[0060] Classification results of different methods on IN dataset
[0061]
[0062] Classification results of different methods on the LK dataset
[0063]
[0064]
[0065] Classification results of different methods on the BW dataset
[0066]
[0067] According to the above three tables, the hyperspectral image classification model based on forming-sequence attention and spatial neighbor feature selection provided by the present application has achieved higher classification accuracy than other methods. For example, in the classification results on the IN data set, the proposed hyperspectral image classification model based on forming-sequence attention and spatial neighbor feature selection achieved a highest accuracy of 99.74%, which was 18.07% and 2.33% higher than SVM, CNN, DFFN, MCNN, SSRN, FDSSC, LSMSC, ASSMN, DBMA, DBDA, CASSN and A2S2KResNet, respectively, and 4.36%, 8.03%, 0.55%, 0.16%, 3.03%, 1.44%, 3.19%, 1.44%, 1.22% and 0.96%. In the classification results of different methods on the LK data set and the classification results of different methods on the BW data set, the hyperspectral image classification model based on forming-sequence attention and spatial neighbor feature selection also achieved the highest accuracy in OA, AA and Kappa. Compared with SVM, deep learning-based methods perform better. This is because deep learning combines hierarchical feature learning with classifier learning, so deep learning-based methods can learn more discriminative and abstract high-level features. As can be seen from the table, the accuracy of CNN is lower than other deep learning-based methods because it only uses a weaker two-dimensional CNN to extract spatial features.
[0068] Compared with CNN, the accuracy of the hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection is improved because the shaping attention network and sequential attention network are used to learn the relevant local spatial features and serialized spectral features of the hyperspectral image. In particular, the hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection outperforms the SSRN model based on 3D-CNN, which shows that shaping-sequential attention is crucial for hyperspectral feature extraction and classification. FDSSC uses a densely connected structure to deeply learn features and obtains better results than SSRN. ASSMN adopts spectral and spatial multi-scale strategies at the same time. However, FDSSC, LSMSC and ASSMN have different performances on all datasets. For example, FDSSC achieves good results on IN and BW datasets, but has low accuracy on LK dataset. Among DBMA, DBDA, CASSN and A2S2KResNet using attention module, A2S2KResNet achieves the best results. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection uses the shaping-sequential attention network to strengthen valuable features and weaken those useless or harmless information, thus achieving better accuracy than A2S2KResNet. Overall, the hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection achieved better performance on all three datasets. In the above tables, the last two rows record the training time and test time of different models. Overall, the hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection achieved the best balance between computational time and classification performance.
[0069] In summary, the hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection uses shaping attention and sequence attention to achieve the selection of strong discriminative spatial information and spectral features respectively. Sequence attention is used to assign different weights to each band of the original input data; shaping attention enhances the spatial information related to the central pixel, while suppressing unnecessary spatial information, which can improve the recognition rate of the central pixel. Compared with the existing methods, the SPFSM based on neighbor selection also plays a key role. It uses the tanh derivative activation function to convert each spatial similarity into an appropriate weight. Such an operation can assist the model to more fully analyze the land cover characteristics. The experimental results on three hyperspectral public datasets demonstrate the excellent classification performance of the proposed hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection.
[0070] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0072] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection, characterized in that: The model includes: a spatial subnetwork, a spectral subnetwork, and an image classification part, wherein: The spatial subnetwork includes a two-dimensional convolution layer, a ReLU activation function layer, a shaping attention module, and a spatial neighbor feature selection module; after the hyperspectral image to be classified is input, a dimension reduction process is performed through principal component analysis, and a spatial block centered on the processed hyperspectral image pixel to be classified is used as input, and a spatial feature vector is generated through the two-dimensional convolution layer, the ReLU activation function layer, the shaping attention module, and the spatial neighbor feature selection module; The spectral sub-network includes a one-dimensional convolution layer and a sequence attention module; the spectral vector of the processed hyperspectral image pixel to be classified is used as input, and a spectral feature vector is generated through the one-dimensional convolution layer and the sequence attention module; The image classification part includes a fully connected layer, and the spatial feature vector and the spectral feature vector are input into the fully connected layer for classification to obtain a hyperspectral image classification result.
2. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 1 is characterized in that: The shaping attention module includes a first convolutional layer, a first pooling layer, a first activation layer, a shaping attention block, and a first loss function layer.
3. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 2 is characterized in that: The input data enters the convolution layer, and the maximum pooling or average pooling is performed in the pooling layer. After layer normalization, the feature vector is linearly transformed into a query set and a key set. Feature correction is performed in the shaping attention block, and the main elements are added to the output of the feedforward neural network to achieve aggregation of contextual space features.
4. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 1 is characterized in that: The spatial proximity feature selection module includes a proximity selection block and a Tanh-derivative activation function.
5. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 4 is characterized in that: The Minkowski distance is used to analyze whether the central pixel and the adjacent pixels in the processed hyperspectral image pixels to be classified belong to the same category; the similarity between the central pixel and the adjacent pixels belonging to the same category is converted into a spatial weight through the Tanh-derivative activation function.
6. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 1 is characterized in that: The sequence attention module includes a second convolutional layer, a second pooling layer, a second activation layer, a sequence attention block, a BN layer, and a second loss function layer.
7. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 6 is characterized in that: The spectral vector of the processed hyperspectral image pixel to be classified is input, processed by the second convolution layer, batch normalized and processed by the second activation layer to generate a spectral feature vector.
8. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 1 is characterized in that: The image classification part also includes a dropout layer and a third activation layer.
9. The hyperspectral image classification model based on shaping-sequential attention and spatial neighbor feature selection according to claim 8, characterized in that: The spatial feature vector and the spectral feature vector are input into the fully connected layer, and processed through the dropout layer and the third activation layer to obtain a hyperspectral image classification result.
Citation Information
Patent Citations
Hyperspectral image classification method
CN115457336A
Multi-scale hyperspectral image feature extraction method introducing attention mechanism
CN115984585A
Hyperspectral image classification method of spectrum-space attention mechanism based on double-branch network
CN117218429A
Hyperspectral image classification method based on band selection feature fusion multi-attention network
CN117710744A
Method for classifying hyperspectral images on basis of adaptive multi-scale feature extraction model
US20230252761A1
