Lightweight hyperspectral image classification method
Through the 3D-2D group feature extraction module and depth-separable convolution, the problems of insufficient feature extraction and network redundancy in hyperspectral image classification are solved, and an efficient lightweight network is realized to adapt to images with different ground features and improve the classification accuracy.
Patent Information
- Application Number
- CN202310251365.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-20
AI Technical Summary
Existing hyperspectral remote sensing image classification algorithms have problems such as insufficient image feature extraction, redundant network models, and large network parameters, which lead to a decrease in classification accuracy, and the fixed receptive field size cannot adapt to images with different ground feature characteristics.
The 3D-2D group feature extraction module is used to extract rich spatial-spectral features through multi-scale size receptive field, group convolution and depth separable convolution, combined with the spectral attention module and 2D multi-scale depth separable network, and reduce the network Parameter quantity to achieve lightweight network.
While ensuring classification accuracy, it significantly reduces the amount of network parameters, improves the ability to extract image features, adapts to images with different ground feature features, and improves classification performance.
Smart Images

Figure CN118675041A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hyperspectral remote sensing image processing, and in particular to a lightweight hyperspectral image classification method. Background Art
[0002] Hyperspectral images (HSI) have been widely used in various remote sensing fields in recent years, such as target detection, agricultural monitoring, and marine safety. Hyperspectral images are different from conventional two-dimensional digital images. They are three-dimensional cube data, consisting of two-dimensional digital images and one-dimensional spectral dimensions. Spectral bands contain rich geographic feature information, so feature selection and feature extraction are particularly important for hyperspectral pixel classification. Hyperspectral image classification aims to classify the content of each pixel in the scene, such as identifying the type of land cover category in environmental monitoring. In early classification methods, HSI classification was mostly based on spectral information, such as support vector machine (SVM). SVM showed low sensitivity to high dimensions, so many hyperspectral classification methods based on SVM were proposed. With the development of imaging technology, hyperspectral sensors can provide rich spatial information, so classification methods based only on spectral information will face the small sample problem caused by the lengthy spectral dimension, resulting in a decrease in classification accuracy. Researchers have begun to shift their focus to the joint extraction based on spatial-spectral information, such as three-dimensional morphological profiles (MP), three-dimensional LBP, and extended morphological features (EMP).
[0003] In recent years, deep learning has become one of the hottest research topics. The main purpose of deep learning is to automatically learn effective feature representations from data. It can transform raw data into higher-level and more abstract representations through multi-layer feature transformation. Many HSI classification methods based on deep learning have been proposed and have shown excellent performance. Compared with traditional machine learning algorithms, it can extract high-level abstract features from shallow to deep in a hierarchical extraction manner, and its learning process is fully automated. In addition, due to the deep nonlinear network architecture, it has a more powerful feature representation capability. First, stacked autoencoders (SAEs) were introduced as deep models for HSI feature extraction and classification. Subsequently, deep belief networks (DBNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), generative adversarial networks (GANs), capsule networks and other deep learning models have achieved good classification performance on HSI.
[0004] Convolutional neural network (CNN) can effectively capture local correlations and better extract spatial information due to its local connections and weight sharing, making it widely used in HSI classification. For example, Hu et al. proposed a one-dimensional CNN with five convolutional layers to extract the spectral features of HSI. Li et al. proposed a 3D-CNN hyperspectral image classification method without any preprocessing. He et al. proposed a 3D deep CNN that jointly extracts spatial and spectral features by calculating multi-scale features. Swalpa et al. proposed a 3D-2D hybrid convolution based on the feature hierarchy of hyperspectral images.
[0005] As feature extraction continues to deepen, neural networks inevitably become deeper and deeper. The phenomena of gradient diffusion and network degradation become more and more serious with the increase in the number of training times. The number of network parameters becomes larger and larger, resulting in network model redundancy and a decrease in classification accuracy. Although these network models have achieved better classification results, these networks usually extract single-scale features on fixed image blocks, often ignoring subtle contextual information in space. In addition, the size of the convolution kernel in the convolutional neural network is mostly a fixed parameter, which limits the range of the receptive field. Generally speaking, a larger receptive field will not be able to capture the fine-grained structure of the image, while a smaller receptive field will often eliminate the coarse-grained structure of the image. The fixed receptive field size cannot adapt to images with different ground features; therefore, how to reduce the number of network parameters while ensuring the network classification accuracy in extracting hyperspectral image features has become the key to improving performance. Summary of the invention
[0006] Purpose of the invention: In order to overcome the problems of insufficient image feature extraction, redundant network models, and large number of network parameters existing in the hyperspectral remote sensing image classification algorithm in the prior art, a lightweight hyperspectral image classification method is provided. The designed 3D-2D group feature extraction module (3D-2D MGFM) simultaneously acquires rich spatial-spectral features by introducing multi-scale receptive fields, grouped convolutions, and depthwise separable convolutions, thereby reducing the number of network parameters while ensuring classification accuracy, thereby achieving the level of lightweight network.
[0007] Technical solution: To achieve the above object, the present invention provides a lightweight hyperspectral image classification method, comprising the following steps:
[0008] S1: constructing an overall network, including a 3D grouping multi-scale feature extraction network and a 2D grouping multi-scale feature extraction network, wherein the 2D grouping multi-scale feature extraction network includes a spectral attention module and a 2D multi-scale deep separable network;
[0009] S2: Using a multi-scale feature extraction network, we use convolution kernels of different sizes to extract multi-scale features from the initialized and preprocessed hyperspectral data to extract hierarchical features of the hyperspectral image;
[0010] S3: The 2D multi-scale feature extraction network includes an attention module and a 2D deep separable module. The attention module selectively emphasizes the spectral information features and recalibrates the spectral feature response through compression and excitation operations, and integrates the improved residual network module and the 2D deep separable module.
[0011] S4: 3D grouped multi-scale feature extraction network extracts spatial and spectral features of hyperspectral images at multiple scales through 3D grouped deep separable convolutions;
[0012] S5: Obtain rich spatial-spectral features through the 3D-2D grouping feature extraction module, send the output feature map into the classifier through the global pooling layer for final classification, and output the result.
[0013] Furthermore, the process of multi-scale feature extraction in step S2 is as follows:
[0014] A1: Perform multi-scale feature extraction and use convolution kernels of different sizes to perform convolution operations on hyperspectral images;
[0015] A2: Concatinate the feature maps after convolution.
[0016] Furthermore, the operation mechanism of the attention module in step S3 includes compression and activation operations, specifically:
[0017] First, the original hyperspectral cube is convolved, activated, and batch normalized to increase the number of feature maps. By reducing the size of the convolution kernel, more representative features of the hyperspectral image can be extracted to complete the compression operation. Then, convolution is performed again, and the activation function is changed to Sigmoid to complete the activation operation. The feature map q after convolution is multiplied with the original block at the pixel level, and the obtained weight values are assigned to the respective spatial positions of all pixels. The formula for the last convolution operation and weight value acquisition is:
[0018]
[0019] Among them, W∈□ 1*1*C ,q∈□ W*H , where W is the convolution kernel, and the convolution bias value b is initialized to 0 and does not participate in the convolution operation, F sq Indicates the compression process, F exrepresents the activation process, U is the original feature map, q represents the linear activation combination of the feature map U at each spatial position along the spectral channel, σ is the Sigmoid activation function, It is the pixel-by-pixel point multiplication.
[0020] Furthermore, the operating mechanism of the spectral attention module in step S3 is as follows: the attention module obtains global information by multiplying the original data by the matrix of the convolved features, and redistributes the weight values between the pixels, and finally distributes the weight values to each pixel through channel-wise dependency transformation and feature fusion.
[0021] Furthermore, the operation process of the 2D multi-scale feature extraction module in step S3 is as follows:
[0022] First, the input HSI Cube (S, S, E) is sent to the global average pooling layer through convolution to compress the spatial size to (1, 1, E), and then remapped to a high-dimensional size through compression and reactivation, and an activation value is obtained through the Sigmoid function, and finally assigned to the original feature map (S, S, E) to learn the weight coefficient to make the network more discriminative. Then enter the 2D depth-separable convolution module, first divide the channel into 3 parts (S, S, E / 3), and perform multi-scale feature extraction through convolution kernels of different sizes, and then integrate them through 1×1 convolution, and finally add it to the initial feature map through the residual network to obtain a feature map with a shape of (S, S, E);
[0023] Furthermore, the operation process of the 3D multi-scale feature extraction module in step S4 is as follows:
[0024] Firstly, the input hyperspectral 3D feature map (S, S, E, C) is convolved in groups to obtain (S, S, E, C / 3), and then the features are extracted layer by layer through 3D dilated convolution kernels of different sizes and expansion rates. The feature maps from shallow to deep layers are added one by one to make the hyperspectral image blocks more distinguishable. Then, the three groups of feature maps are spliced one by one into the final (S, S, E, C) feature map.
[0025] Furthermore, the operation process of the 3D-2D grouping multi-scale feature extraction module in step 5 is:
[0026] After the original hyperspectral image is initialized, it is subjected to 3D convolution with a kernel size of 3×3×3, a step size of 1, and a filter number of 54, followed by a BN layer and ReLU to form a preliminary feature extraction network. After preliminary spatial-spectral feature extraction, it enters the 3D grouping feature extraction module, and then reshapes the hyperspectral image block through the Reshape operation to reach the input size of the 2D module, and then enters the 2D grouping feature extraction module through a 2D convolution with a kernel size of 3×3, a step size of 1, and a filter number of 54. Finally, it enters the feature classifier through a global average pooling layer to obtain the final result.
[0027] In the present invention, firstly, in order to solve the defect that the fixed receptive field size causes the neural network to be insensitive to fine-grained image capture, different convolution kernel sizes of 1×1, 3×3, and 5×5 are used in the 2D multi-scale feature extraction module, and 3×3×3 dilated convolutions with different expansion rates are used in the 3D multi-scale feature extraction module, and the expansion rates are 1, 2, and 3, respectively, to perform multi-scale extraction of spatial-spectral features. The features of different sizes of objects can be extracted through multi-scale convolution fusion, which effectively makes up for the limitations of a single convolution kernel size in spatial field of view.
[0028] Beneficial effect: Compared with the prior art, the present invention introduces multi-scale receptive fields, grouped convolution and depth-separable convolution to simultaneously acquire rich spatial-spectral features, reduce the number of network parameters while ensuring classification accuracy, and achieve the level of lightweight network. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A network model diagram for the implementation of the present invention;
[0030] Figure 2 This is the model diagram of the 3D multi-scale feature extraction module;
[0031] Figure 3 This is a model diagram of the 2D multi-scale feature extraction module;
[0032] Figure 4 : The classification result diagram of the Indian pines algorithm, wherein (a) is the result diagram of the real object, (b) is the classification result diagram of the 3D-CNN model, (c) is the classification result diagram of the FFDN model, (d) is the classification result diagram of the HybridSN model, (e) is the classification result diagram of the MSRN model, (f) is the classification result diagram of the DBDA model, (g) is the classification result diagram of the R-HybridSN model, and (h) is the classification result diagram of the 3D-2D MGFM model of the present invention;
[0033] Figure 5: The classification result diagram of the University of Pavia algorithm, wherein (a) is the result diagram of the real object, (b) is the classification result diagram of the 3D-CNN model, (c) is the classification result diagram of the FFDN model, (d) is the classification result diagram of the HybridSN model, (e) is the classification result diagram of the MSRN model, (f) is the classification result diagram of the DBDA model, (g) is the classification result diagram of the R-HybridSN model, and (h) is the classification result diagram of the 3D-2D MGFM model of the present invention;
[0034] Figure 6 : The classification result diagram of the Salina algorithm, wherein (a) is a real object result diagram, (b) is a 3D-CNN model classification result diagram, (c) is a FFDN model classification result diagram, (d) is a HybridSN model classification result diagram, (e) is a MSRN model classification result diagram, (f) is a DBDA model classification result diagram, (g) is a R-HybridSN model classification result diagram, and (h) is a 3D-2DMGFM model classification result diagram of the present invention; DETAILED DESCRIPTION
[0035] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0036] The present invention provides a lightweight hyperspectral image classification method. First, an overall network is constructed, including a 3D multi-scale feature extraction module and a 2D multi-scale feature extraction module. Figure 1 As shown in the figure, the multi-scale feature extraction network extracts hierarchical features of hyperspectral images through three different sizes of convolution kernels.
[0037] Based on the above method, this embodiment applies the above method to hyperspectral image classification, and the specific process is as follows:
[0038] Step 1: Initialize all parameters in the original network to satisfy the Gaussian distribution with a mean of 0 and a variance of 0.1.
[0039] Step 2: Original hyperspectral image X∈□ h×w×c Where h, w, c are the height, width and spectral dimension of the hyperspectral data respectively.
[0040] Step 3: Preprocess the original hyperspectral data, taking the current pixel as the center and filling the surrounding pixels to pack the hyperspectral data into a fixed-size HSI Cube.
[0041] Step 4: Perform multi-scale feature extraction to obtain the features of objects of different sizes in the hyperspectral remote sensing image. The combination of convolution kernels of different sizes can more comprehensively grasp the coarse-grained features and detailed features of the image.
[0042] The specific learning process of the 3D multi-scale feature extraction network includes the following steps:
[0043] Step 4.1: Perform preliminary spatial-spectral feature extraction by using a 3D convolution with a kernel size of 3×3×3, a step size of 1, and a filter number of 54, followed by a BN layer and ReLU to form a preliminary feature extraction network.
[0044] Step 4.2: Send the convolved feature map to the 3D multi-scale feature module. At this time, the number of channels of the feature map is 54.
[0045] Step 4.3: Divide the feature maps into 3 groups, each with a size of (S, S, E, 18), and perform dilation convolution with dilation rates of 1, 2, and 3, respectively. The convolution kernel size is 3×3×3, the stride is 1, and the number of filters is 18.
[0046] Step 4.4: Through a structure similar to a feature pyramid, the information extracted from the shallow layer is added one by one to the next layer for feature extraction, which accelerates the convergence of the network and makes the feature map more discriminative.
[0047] Step 4.5: Concatenate the feature maps obtained by the three groups of dilated convolutions along the channel dimension to obtain the final feature map (S, S, E, 54).
[0048] The specific learning process of the 2D multi-scale feature extraction network includes the following steps:
[0049] Step 4.6: First, the 3D image block (S, S, E, 54) is converted into a 2D image block (S, S, 54×E) through the Reshape operation.
[0050] Step 4.7: Use 2D convolution with a kernel size of 3×3, a stride of 1, and a filter number of 54 to reduce the dimension and adjust the number of channels to fit the 2D multi-scale feature extraction module to obtain the feature map (S, S, 54).
[0051] Step 4.8: First, the input HSI Cube (S, S, 54) is sent to the global average pooling layer to compress the spatial size to (1, 1, E), and then remapped to a high-dimensional size through compression and reactivation, and an activation value is obtained through the Sigmoid function, and finally assigned to the original feature map (S, S, 54) to learn the weight coefficient to make the network more discriminative. The formula for the last convolution operation and weight value acquisition is:
[0052]
[0053] Among them, W∈□ 1*1*C ,q∈□ W*H , where W is the convolution kernel, and the convolution bias value b is initialized to 0 and does not participate in the convolution operation, F sq Indicates the compression process, F ex represents the activation process, U is the original feature map, q represents the linear activation combination of the feature map U at each spatial position along the spectral channel, σ is the Sigmoid activation function, It is the pixel-by-pixel point multiplication.
[0054] Step 4.9: Divide the feature map (S, S, 54) into 3 groups along the channel dimension. The size of each feature map is (S, S, 18). Perform multi-scale 2D depth-wise separable convolution on each group. The convolution kernel sizes are 1×1, 3×3, and 5×5, respectively. The step size is 1 and the number of filters is 18. Three feature maps of size (S, S, 18) are obtained.
[0055] Step 4.10: Concatenate the three feature maps along the channel dimension into a new feature map (S, S, 54), and integrate the features of each channel through a 2D convolution with a convolution kernel size of 1×1, a step size of 1, and a filter number of 54 to achieve information integration. Finally, the input 2D feature map information is added to the final integrated feature map through a residual connection to obtain the final feature map (S, S, 54).
[0056] In order to verify the effect of the method of the present invention, based on the above technical solution, this embodiment carried out a simulation experiment, and the specific results and analysis are as follows:
[0057] 1. Experimental images
[0058] In this embodiment, the proposed lightweight hyperspectral image classification method based on 3D-2D grouping feature extraction module will be tested on three benchmark datasets: IP (Indian pine), PU (University of Pavia), and SA (Salina) to verify the effectiveness and reliability of the model.
[0059] The Indian Pines (IP) dataset is an image acquired by the US Infrared Imaging Spectrometer (AVIRIS) in northwestern Indiana, with a spatial size of 145 pixels * 145 pixels. The imaging wavelength range of the AVIRIS imaging spectrometer is 0.4-2.5μm, and it images the ground objects in 220 continuous bands. Generally, the 200 bands remaining after 20 bands are removed are used as the research objects. The spatial resolution of the image formed by the spectral imager is about 20m, and there are only 10,249 pixels containing ground objects in total, and these pixels contain 16 types of ground objects.
[0060] The University of Pavia (PU) dataset. The PU data is an image of the city of Pavia in northeastern Italy taken by the German airborne reflective optical spectrographic imager (ROSIS-03). The image spatial size is 610 pixels * 340 pixels, and the imager wavelength is 0.43-0.86μm, and the spatial resolution of the image is 13m. In the experiment, 12 frequency bands due to strong noise and water vapor interference are removed, and the image composed of the remaining 103 spectral bands is generally used. There are only 42776 pixels containing ground objects in total, and these pixels contain 9 types of ground objects such as roads, trees, roofs, etc.
[0061] Salinas (SA) dataset. The SA dataset was taken by the AVIRIS imaging spectrometer. It is an image of the Salinas Valley in California, USA. Unlike Indian Pines, its spatial resolution reaches 3.7m. Similarly, in the experiment, 20 bands with water vapor interference were removed, and the remaining 204 bands were retained for the experiment. The size of the image is 512 pixels * 217 pixels, of which there are 54,129 pixels that can be applied to classification, and these pixels contain a total of 16 types of ground objects.
[0062] Table 1-Grayscale images and ground object information categories of IP dataset, PU dataset and SA dataset
[0063]
[0064]
[0065] 2. Experimental methods and related parameter settings
[0066] The network model proposed in this paper is based on Python language and Tensorflow deep learning framework. The experimental environment is based on a 64-bit Windows 10 operating system, 32GB RAM and NVIDIA GeForce GTX 2070s 8GB GPU. In order to prevent the influence of deviations and random factors of different training samples, all experimental data in this paper are averaged 10 times under the same conditions.
[0067] In terms of evaluation indicators, three indicators are selected: overall accuracy (OA), average accuracy (AA) and Kappa coefficient (KA).
[0068] In the division of training and test sets, 10%, 3%, and 1% of the samples were randomly selected from the IP dataset, PU dataset, and SA dataset as training samples, and the remaining 90%, 97%, and 99% of the samples were used as test samples. In the experiments of the three datasets, the batch size was set to 32, the back propagation algorithm used was Adam (Adaptive moment estimation, Adam), the initial learning rate was 0.0001, and the number of iterations was set to 100.
[0069] 3. Comparison of experimental results
[0070] Table-2-IP dataset test results
[0071]
[0072] Table-3-PU dataset test results
[0073]
[0074] Table-4-SA dataset test results
[0075]
[0076]
[0077] Table-5-Network model parameters and training time
[0078]
[0079] From the above figure, we can see that the classification graph of 3D-CNN has the worst effect and there is a lot of noise. On the IP dataset, OA is only 69.50%. This is because the network directly inputs the hyperspectral image blocks into the network without preprocessing the data, resulting in a lot of redundancy in the spectral dimension. In addition, the network is shallow, with only two 3D convolutional layers and one fully connected layer, which fails to fully extract spatial information, affecting the classification accuracy. Compared with 3D-CNN, FFDN has greatly improved the classification accuracy. OA has reached 96.41% on the IP dataset, 98.38% on the PU dataset and 96.68% on the SA dataset. This is because FFDN first performs PCA preprocessing on the input image blocks to remove redundant spectral bands. In addition, the model has sufficient depth to extract spectral and spatial information more perfectly, and also alleviates the overfitting problem that occurs during training. The Hybrid3D-2D network achieved an accuracy of nearly 100% on some categories. This is because the network takes into account spectral features while extracting spatial features. Using 3D convolution and 2D convolution together to extract spatial and spectral features can greatly improve the classification accuracy. Unfortunately, it does not consider multi-scale feature extraction, so the classification accuracy is not as good as the network we proposed. MSRN achieved high classification accuracy on all three datasets. This is because it replaced the traditional 2D convolution with MRB, and in order to further enhance the feature representation capability, MSRN added high-level shortcut connections (HSC) on the two cascaded MRBs to aggregate low-level features and high-level features, but MSRN did not extract and correct spectral information at multiple scales. DBDA also achieved high classification accuracy because it divided the spatial and spectral features into two branches for extraction, and introduced an attention mechanism in each branch, which can learn the features of interest more carefully. From Table 2, Table 3 and Table 4, we can see that the proposed network has achieved higher accuracy than other networks. The OA on the IP dataset has reached 98.94%, the OA on the PU dataset has reached 99.21%, and the OA on the SA dataset has reached 99.48%. This is due to the two multi-scale modules that can learn deeper spectral-spatial features. Since the grouped convolution and depthwise separable convolution greatly reduce the network parameters, the network parameters of the proposed network are only 5.44% of those of the Hybrid3D-2D, which also uses 3D convolution. In general, the performance indicators of the proposed network on the three datasets IP, PU, and SA have all reached the best.
Claims
1. A lightweight hyperspectral image classification method, characterized in that: The steps include: S1: constructing an overall network, including a 3D grouping multi-scale feature extraction network and a 2D grouping multi-scale feature extraction network, wherein the 2D grouping multi-scale feature extraction network includes a spectral attention module and a 2D multi-scale deep separable network; S2: Using a multi-scale feature extraction network, we use convolution kernels of different sizes to extract multi-scale features from the initialized and preprocessed hyperspectral data to extract hierarchical features of the hyperspectral image; S3: The 2D multi-scale feature extraction network includes an attention module and a 2D deep separable module. The attention module selectively emphasizes the spectral information features and recalibrates the spectral feature response through compression and excitation operations, and integrates the improved residual network module and the 2D deep separable module. S4: 3D grouped multi-scale feature extraction network extracts spatial and spectral features of hyperspectral images at multiple scales through 3D grouped deep separable convolutions; S5: Obtain rich spatial-spectral features through the 3D-2D grouping feature extraction module, send the output feature map into the classifier through the global pooling layer for final classification, and output the result.
2. According to claim 1, a lightweight hyperspectral image classification method based on a 3D-2D grouping feature extraction module is characterized in that: The process of multi-scale feature extraction in step S2 is as follows: A1: Perform multi-scale feature extraction and use convolution kernels of different sizes to perform convolution operations on hyperspectral images; A2: Concatinate the feature maps after convolution.
3. A lightweight hyperspectral image classification method according to claim 1, characterized in that: The operation mechanism of the attention module in step S3 includes compression and activation operations, specifically: First, the original hyperspectral cube is convolved, activated, and batch normalized to increase the number of feature maps. By reducing the size of the convolution kernel, more representative features of the hyperspectral image can be extracted to complete the compression operation. Then, convolution is performed again, and the activation function is changed to Sigmoid to complete the activation operation. The feature map q after convolution is multiplied with the original block at the pixel level, and the obtained weight values are assigned to the respective spatial positions of all pixels. The formula for the last convolution operation and weight value acquisition is: Among them, W∈□ 1*1*C ,q∈□ W*H , where W is the convolution kernel, and the convolution bias value b is initialized to 0 and does not participate in the convolution operation, F sq Indicates the compression process, F ex represents the activation process, U is the original feature map, q represents the linear activation combination of the feature map U at each spatial position along the spectral channel, σ is the Sigmoid activation function, It is the pixel-by-pixel point multiplication.
4. The lightweight hyperspectral image classification method according to claim 1, characterized in that: The operation mechanism of the attention module in step S3 is: The attention module obtains global information by multiplying the original data by the matrix of the convolutional features, and redistributes the weight values between pixels. Finally, the weight values are assigned to each pixel through channel-wise dependency transformation and feature fusion.
5. A lightweight hyperspectral image classification method according to claim 4, characterized in that: The operation process in step S3 is: First, the input HSI Cube (S, S, E) is sent to the global average pooling layer through convolution to compress the spatial size to (1, 1, E), and then remapped to a high-dimensional size through compression and reactivation, and an activation value is obtained through the Sigmoid function, and finally assigned to the original feature map (S, S, E) to learn the weight coefficient to make the network more discriminative. Then enter the 2D depth separable convolution module, first divide the channel into 3 parts (S, S, E / 3), and perform multi-scale feature extraction through convolution kernels of different sizes, and then integrate them through 1×1 convolution, and finally add it to the initial feature map through the residual network to obtain a feature map with a shape of (S, S, E).
6. A lightweight hyperspectral image classification method according to claim 1, characterized in that: The operation process in step S4 is: Firstly, the input hyperspectral 3D feature map (S, S, E, C) is convolved in groups to obtain (S, S, E, C / 3), and then the features are extracted layer by layer through 3D dilated convolution kernels of different sizes and expansion rates. The feature maps from shallow to deep layers are added one by one to make the hyperspectral image blocks more distinguishable. Then, the three groups of feature maps are concatenated one by one into the final (S, S, E, C) feature map.
7. A lightweight hyperspectral image classification method according to claim 1, characterized in that: The operation process of the 3D-2D grouping multi-scale feature extraction module in step S5 is as follows: After the original hyperspectral image is initialized, it is subjected to 3D convolution with a kernel size of 3×3×3, a step size of 1, and a filter number of 54, followed by a BN layer and ReLU to form a preliminary feature extraction network. After preliminary spatial-spectral feature extraction, it enters the 3D grouping feature extraction module, and then reshapes the hyperspectral image block through the Reshape operation to reach the input size of the 2D module, and then enters the 2D grouping feature extraction module through a 2D convolution with a kernel size of 3×3, a step size of 1, and a filter number of 54. Finally, it enters the feature classifier through a global average pooling layer to obtain the final result.
Citation Information
Patent Citations
Hyperspectral image classification method combining 3D / 2D convolutional network and adaptive spectral unmixing
CN110852369A
Hyperspectral image classification method based on global attention residual network
CN112836773A
Hyperspectral remote sensing image classification method
CN113705526A
Three-dimensional point cloud feature extraction method based on multi-modal attention driving
CN114882494A
Cited By
Hyperspectral classification method based on reconstruction convolution Transform
CN120766048A
Hyperspectral classification method based on reconstructed convolutional transformer
CN120766048B
Method for constructing spectral image detection model, detection method, and camera processor capable of on-chip computing
WO2026113840A1
