Hyperspectral image super-resolution method based on transpose convolution long short-term memory network

By using a transposed convolutional long short-term memory network with multidimensional attention assistance, the problem of low spatial resolution in hyperspectral images is solved, achieving efficient single-image super-resolution processing and improving image quality and fidelity.

CN116563113BActive Publication Date: 2026-11-27DONGHUA UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310557390.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2026-11-27
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

Hyperspectral images, due to their low spatial resolution, are difficult to meet the practical application requirements of target recognition and anomaly detection. Existing technologies face obstacles in the simultaneous acquisition of multiple image sources in single-image super-resolution processing, and deep learning-based methods have not yet fully utilized the spatial and spectral characteristics of images.

Method used

A hyperspectral image super-resolution model is constructed by using a multidimensional attention-assisted transposed convolutional long short-term memory network, combined with a bidirectional long short-term memory network and transposed convolutional layers, to capture features in the spatial-spectral-channel dimensions through a multidimensional attention mechanism. The model is then trained using adaptive moment estimation and backpropagation algorithms.

Benefits of technology

It significantly improves the spatial resolution of hyperspectral images and enhances image quality, especially in terms of fidelity in terms of spectral and spatial structure, outperforming other methods and achieving efficient single-image super-resolution processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116563113B_ABST
    Figure CN116563113B_ABST
Patent Text Reader

Abstract

The high-spectral image super-resolution method based on transpose convolution long short-term memory network is used for pretreatment of the original high-spectral image; then, degradation processing is carried out to obtain a medium-resolution high-spectral image and a low-resolution high-spectral image; a model based on a multi-dimensional attention auxiliary transpose convolution bidirectional long short-term memory network is constructed; a training sample set is constructed and the network is trained; and after a test set is constructed, the algorithm performance is evaluated. The application uses a convolution bidirectional long short-term memory network as a feature exploration network, proposes a transpose convolution long short-term memory network layer to amplify and reconstruct a high-spectral image, has strong space-time correlation and the ability of modeling long sequence data modeling, and fully utilizes the image and spectral features of the high-spectral image. Meanwhile, a multi-dimensional attention module is proposed to comprehensively explore spectral, channel, local and non-local space features, and the parameters and storage of the multi-dimensional attention module are greatly reduced in combination with the parameter sharing characteristics of the recurrent network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and in particular to a hyperspectral image super-resolution method based on transposed convolutional long short-term memory networks. Background Technology

[0002] Hyperspectral images, with their fine spectral resolution and spatial-spectral co-detection capabilities, have become a powerful tool in the field of remote sensing thanks to the rapid development of sensor technology. However, due to energy limitations, hyperspectral images often have lower spatial resolution and mixed pixels compared to high-resolution optical images with fewer spectral bands. Therefore, in many applications, such as target recognition and anomaly detection, super-resolution processing is sometimes indispensable.

[0003] Technically, image super-resolution (SR) refers to the technique of converting low-resolution images into relatively high-resolution spatial domain images. Depending on whether auxiliary images are used, SR techniques can be divided into two categories: single-image SR methods and image fusion methods. Hyperspectral image fusion technology faces a major obstacle: the simultaneous acquisition of multiple image sources. Therefore, most studies use simulated remote sensing data for experiments. Exploring single-image hyperspectral SR techniques is undoubtedly valuable and necessary for practical applications.

[0004] Single-image super-resolution techniques can theoretically be divided into two categories: model-based or regularization-based methods and deep learning-based methods. Regularization-based super-resolution (SR) methods widely utilize sparsity and low-rank regularization, such as high-order coupled tensor ring representation models, interpretable tensor modeling methods, cost minimization algorithms and low-rank approximation methods, and low-rank prior grouping joint tensor dictionary methods. With the development and application of deep learning theory, researchers have utilized numerous deep convolutional neural network (CNN) methods to explore the spatial and spectral properties of hyperspectral images. Summary of the Invention

[0005] This invention proposes a multidimensional attention-assisted convolutional long short-term memory network for hyperspectral image super-resolution. Convolution is used to extract rich spatial features, while a recursive network with bidirectional long short-term memory is used to model global correlations. To obtain extended images, transposed convolutional layers are used. In addition, a multidimensional attention mechanism is proposed to further improve the network's learning ability.

[0006] A hyperspectral image super-resolution method based on transposed convolutional long short-term memory network includes the following steps:

[0007] Step S1: Preprocess the original hyperspectral image;

[0008] Step S2: Degrade the image generated in step S1 by performing Gaussian filtering and nearest neighbor downsampling operations. Then, perform bicubic upsampling on the degraded image to obtain a medium-resolution hyperspectral image of the same size as in step S1.

[0009] Step S3: The image generated in step S2 is degraded again, that is, Gaussian filtering and nearest neighbor downsampling are performed sequentially; then, bicubic upsampling is performed on the degraded image to obtain a low-resolution hyperspectral image of the same size as in step S1.

[0010] Step S4: Construct a model based on a multidimensional attention-assisted transposed convolutional bidirectional long short-term memory network;

[0011] Step S5: Construct a training sample set: Using the low-resolution hyperspectral image obtained in step S3 as the training image, starting from the first pixel, P×P neighborhood data blocks on each band of each pixel are taken in sequence with boundary mirroring to form training samples; at the same time, the same processing operation is performed on the medium-resolution hyperspectral sub-pixel spatial image corresponding to the low-resolution hyperspectral image in step S2 to obtain the corresponding training label samples, resulting in a training sample set containing N samples.

[0012] Step S6: Training the network: Select a suitable loss function and optimizer, input the prepared data into the network, calculate the loss function, and use adaptive moment estimation and backpropagation algorithms to train and update the network parameters;

[0013] Step S7: Construct a test set: Crop a new sub-pixel spatial image from the original hyperspectral image. The size of this image is consistent with the sub-pixel spatial image in step S1. Then, generate a test sample set in the same way as in steps S2 and S4.

[0014] Step S8: Evaluate algorithm performance: Evaluate the algorithm performance; input the test sample set from step S7 into the model trained in step S5, and measure the effectiveness of the algorithm using relevant evaluation metrics.

[0015] Preferably, step S4 of this invention involves constructing a model based on a multidimensional attention-assisted transposed convolutional bidirectional long short-term memory network; the specific process is as follows:

[0016] Two ConvBiLSTM layers and one transposed ConvBiLSTM layer are stacked along the spectral dimension. Each layer contains c / 2 3*3 convolutional kernels, which are used for forward and backward computation, respectively. After stacking, c output feature maps are obtained. The transposed ConvBiLSTM layer is used to generate an output image of the same size as the high-resolution hyperspectral image. Finally, a convolutional layer with s 1*1 convolutional kernels is used to generate s spectral bands.

[0017] To capture salient features across the spatial, spectral, and channel dimensions, a multidimensional attention mechanism is employed. The spectral attention module first performs max pooling and average pooling on the original feature map in the spatial and passband dimensions, then passes it sequentially through three convolutional layers. Each convolutional layer has s 2*1 kernels, followed by a sigmoid function. The final spectral attention map is obtained by accumulating convolutional features and then injected into the original features through element-wise multiplication with dimension expansion.

[0018] The channel attention module first performs maximum and average pooling on the original feature map in the spatial dimension, then passes it through three fully connected layers, each with c nodes, and performs the sigmoid function on each layer. Finally, the outputs of the FC layers are summed to obtain the channel attention feature map, which is then injected into the original feature map.

[0019] The structure of the non-local spatial attention module also includes three fully connected layers and a sigmoid function, which is executed after obtaining the readjusted channel pooling map; the local spatial attention module first compresses the original feature map in the channel dimension through max pooling and average pooling, and performs three dilated convolutions through s 3*3 convolution kernels, with an effective kernel size of 3*3 and dilation factors of 1, 2 and 3 respectively. The outputs of the three convolutions are passed through the sigmoid function in turn, and then accumulated to form the local spatial attention map. Finally, the local and non-local attention maps are multiplied and fed into another sigmoid function layer.

[0020] Attention modules are combined to form a multi-dimensional attention module, which is then incorporated into the overall framework model. The non-local spatial attention module is implemented on a ConvBiLSTM layer, while the local-non-local spatial attention module is implemented on a transposed ConvBiLSTM layer. Finally, short connections are added to directly connect the original feature maps to the output feature maps.

[0021] This invention utilizes a convolutional bidirectional long short-term memory (LSTM) network as a feature exploration network, proposing a transposed convolutional LSTM layer to amplify and reconstruct hyperspectral images. This layer possesses strong spatiotemporal correlation and the ability to model long sequence data, fully utilizing the image and spectral features of hyperspectral images. Simultaneously, a multidimensional attention module is proposed to comprehensively explore spectral, channel, local, and non-local spatial features. Combined with the parameter-sharing characteristics of recurrent networks, the parameters and storage requirements of the multidimensional attention module are significantly reduced. SR experiments at different resolution ratios demonstrate the feasibility and superiority of this method. Attached Figure Description

[0022] Figure 1 This is a flowchart of the image super-resolution method of the present invention;

[0023] Figure 2These are hyperspectral images used in experiments according to the present invention; from left to right: University of Pavia, downtown Pavia, University of Houston, and San Diego;

[0024] Figure 3 These are super-resolution images of the University of Pavia dataset obtained using a super-resolution technique with r=2.

[0025] Figure 4 These are super-resolution images of the Pavia city center dataset obtained using a super-resolution technique with r=2.

[0026] Figure 5 These are super-resolution images of the University of Houston dataset obtained using a super-resolution technique with r=2.

[0027] Figure 6 These are super-resolution images of the San Diego dataset obtained using a super-resolution technique with r=2.

[0028] Figure 7 This is the banded mean of the absolute error for the University of Pavia dataset when r=4;

[0029] Figure 8 This is the band mean of the absolute error for the Pavia city center dataset when r=4;

[0030] Figure 9 This is the banded mean of the absolute error for the University of Houston dataset when r=4;

[0031] Figure 10 This is the banded mean of the absolute error for the San Diego dataset when r=4. Detailed Implementation

[0032] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.

[0033] like Figure 1 As shown, a hyperspectral image super-resolution method based on transposed convolutional long short-term memory networks includes the following steps:

[0034] Step S1: Preprocess the original hyperspectral image;

[0035] Step S2: Degrade the image generated in step S1 by performing Gaussian filtering and nearest neighbor downsampling operations. Then, perform bicubic upsampling on the degraded image to obtain a medium-resolution hyperspectral image of the same size as in step S1.

[0036] Step S3: The image generated in step S2 is degraded again, that is, Gaussian filtering and nearest neighbor downsampling are performed sequentially; then, bicubic upsampling is performed on the degraded image to obtain a low-resolution hyperspectral image of the same size as in step S1.

[0037] Step S4: Construct a model based on a multi-dimensional attention-assisted transposed convolutional bidirectional long short-term memory network; the specific process is as follows:

[0038] Two ConvBiLSTM layers and one transposed ConvBiLSTM layer are stacked along the spectral dimension. Each layer contains c / 2 3*3 convolutional kernels, which are used for forward and backward computation, respectively. After stacking, c output feature maps are obtained. The transposed ConvBiLSTM layer is used to generate an output image of the same size as the high-resolution hyperspectral image. Finally, a convolutional layer with s 1*1 convolutional kernels is used to generate s spectral bands.

[0039] To capture salient features across the spatial, spectral, and channel dimensions, a multidimensional attention mechanism is employed. The spectral attention module (SEAM) first performs max pooling and average pooling on the original feature map in the spatial and passband dimensions, then passes it sequentially through three convolutional layers. Each convolutional layer has s 2*1 kernels, followed by a sigmoid function. The final spectral attention map is obtained by accumulating convolutional features and then injected into the original features through element-wise multiplication with dimension expansion.

[0040] The Channel Attention Module (CAM) first performs max pooling and average pooling on the original feature map in the spatial dimension. Then, it passes through three fully connected layers, each with c nodes, and performs the sigmoid function on each layer. Finally, the outputs of the FC layers are summed to obtain the channel attention feature map, which is then injected into the original feature map.

[0041] The Non-Local Spatial Attention Module (NSAM) has a structure similar to CAM, also including three fully connected layers and a sigmoid function, which is executed after obtaining the readjusted channel pooling map; the Local Spatial Attention Module first compresses the original feature map in the channel dimension through max pooling and average pooling, and performs three dilated convolutions through s 3*3 convolution kernels, with an effective kernel size of 3*3 and dilation factors of 1, 2 and 3 respectively. The outputs of the three convolutions are passed through the sigmoid function in turn, and then accumulated to form the local spatial attention map. Finally, the local and non-local attention maps are multiplied and fed into another sigmoid function layer;

[0042] Attention modules are combined to form a multi-dimensional attention module, which is then incorporated into the overall framework model. The non-local spatial attention module (NSAM) is performed on a ConvBiLSTM layer, while the local-non-local spatial attention module (LNSAM) is performed on a transposed ConvBiLSTM layer. Finally, short connections are added to directly connect the original feature maps to the output feature maps.

[0043] Step S5: Construct a training sample set: Using the low-resolution hyperspectral image obtained in step S3 as the training image, starting from the first pixel, P×P neighborhood data blocks on each band of each pixel are taken in sequence with boundary mirroring to form training samples; at the same time, the same processing operation is performed on the medium-resolution hyperspectral sub-pixel spatial image corresponding to the low-resolution hyperspectral image in step S2 to obtain the corresponding training label samples, resulting in a training sample set containing N samples.

[0044] Step S6: Training the network: Select a suitable loss function and optimizer, input the prepared data into the network, calculate the loss function, and use adaptive moment estimation and backpropagation algorithms to train and update the network parameters;

[0045] Step S7: Construct a test set: Crop a new sub-pixel spatial image from the original hyperspectral image. The size of this image is consistent with the sub-pixel spatial image in step S1. Then, generate a test sample set in the same way as in steps S2 and S4.

[0046] Step S8: Evaluate algorithm performance: Evaluate the algorithm performance; input the test sample set from step S7 into the model trained in step S5, and measure the effectiveness of the algorithm using relevant evaluation metrics.

[0047] Taking the hyperspectral image of the University of Pavia in Italy acquired by the ROSIS reflectance imaging spectrometer in Germany as an example, this image has 103 spectral bands and a spatial resolution of 1.3 meters. It was constructed to 320*320 pixels for easy processing. The image was filtered using a 7×7 Gaussian low-pass filter and then downsampled by 2 times. The specific calculation steps are as follows:

[0048] Step S1: Represent the hyperspectral image as Where Λ represents the number of bands in the hyperspectral image, and H represents the number of pixels in the hyperspectral image; the hyperspectral image is cropped to obtain a sub-pixel spatial image. N represents the number of pixels in the spatial hyperspectral image of this sub-pixel;

[0049] Step S2: Degrade the image Y by performing Gaussian filtering and nearest-neighbor downsampling with a scaling factor of r'; then, perform bicubic upsampling on the degraded image to obtain a medium-resolution hyperspectral image of the same size as the Y image.

[0050] Step S3: Degrade the image X' by performing Gaussian filtering and nearest-neighbor downsampling with a scaling factor of r; then, perform bicubic upsampling on the degraded image to obtain a low-resolution hyperspectral image of the same size as the X' image.

[0051] Step S4: Construct a model based on a multi-dimensional attention-assisted transposed convolutional bidirectional long short-term memory network. This model includes two ConvBiSTM layers and one transposed ConvBiSTM layer, interspersed with multi-dimensional attention mechanism modules. The mathematical model of the transposed ConvBiSTM layer can be expressed as:

[0052]

[0053]

[0054]

[0055]

[0056]

[0057]

[0058] in, This represents transposed convolution. σ represents element-wise multiplication, σ represents the sigmoid function, and r is the stride. W and b represent the convolution kernel and bias, respectively. The subscripts x and h represent the input layer and hidden layer, respectively. The subscripts i, o, and f represent the input, output, and forget gate, respectively. t represents the time step.

[0059] Spectral attention module (SEAM) can be represented as:

[0060]

[0061] Among them, W spe1 W spe2 W spe3 , represents the kernel parameters of three 1×1 convolutional layers. F represents convolution. spe This represents the feature vector obtained by pooling the input features using the maximum and average values ​​of the spatial and channel dimensions.

[0062] Channel Attention Module (CAM) can be represented as:

[0063] A chn =(σ(W) chn1 F chn )+σ(W chn2 σ(W chn1 F chn ))+σ(W chn3 σ(W chn2 σ(W chn1 F chn ))))

[0064] Among them, W chn1 W chn2 W chn3 , represents the parameters of the three fully connected layers, F chn This represents the feature map obtained by pooling the input features using the maximum and average values ​​of the spatial dimensions.

[0065] Nonlocal spatial attention module (NSAM) can be represented as:

[0066] A nsa =(σ(W) nsa1 F nsa )+σ(W nsa2 σ(W nsa1 F nsa ))+σ(W nsa3 σ(W nsa2 σ(W nsa1 F nsa ))))

[0067] Among them, W nsa1 W nsa2 W nsa3 , represents the parameters of the three fully connected layers, F nsa This indicates that the input features are pooled using the maximum and average values ​​of the channel dimensions and then rearranged into a two-dimensional feature map.

[0068] Local-Nonlocal Spatial Attention Module (LNSAM) can be represented as:

[0069]

[0070]

[0071] Among them, W lsa1 W lsa2 W lsa3 , represents the kernel parameters of three 3×3 dilated convolutional layers, F lsa This represents the feature map obtained by pooling the input features using the maximum and average values ​​of the channel dimensions.

[0072] Step S5: Construct a training sample set. Using image X as the training image, starting from the first pixel, take the p×p neighborhood data blocks of each pixel in each band in a mirrored filling manner. At the same time, take the image X' band value of the corresponding center pixel as the label value of the training sample. Combine them to form a single training sample. A total of N training samples are obtained, which are denoted as training samples.

[0073] Step S6: Train the model: First, feed the training samples into the model built in step S4 in small batches, train the model using adaptive moment estimation and backpropagation algorithms, adjust the model parameters, and set the number of iterations to 200.

[0074] Step S7: Construct a test sample set: Crop a new sub-pixel spatial image from the original hyperspectral image. The size of this image is the same as that of the sub-pixel spatial image in step S1. Then, generate a test sample set in the same manner as in steps S2, S3 and S4.

[0075] Step S8: Evaluate algorithm performance: The test sample set is fed into the model trained in step S6, and the generated results are used to measure the effectiveness of the algorithm through relevant evaluation metrics.

[0076] Figure 3 The hyperspectral images used in this embodiment of the invention are, from left to right, the University of Pavia, downtown Pavia, the University of Houston, and San Diego Airport.

[0077] The hyperspectral image of the University of Houston was acquired by a CASI sensor. The image size is 1905×349, containing 144 bands, and the ground resolution is 2.5 meters. In this example, a local image of size 240×240 is taken as the reference image. This image is filtered with a 7×7 Gaussian low-pass filter and then downsampled by 2 times. The same operation is performed twice to obtain the simulated low-resolution hyperspectral image.

[0078] The hyperspectral image of San Diego Air Station, acquired by the AVIRIS sensor, is 400×400 pixels in size, containing 189 bands, with a ground resolution of 3.5 meters. In this example, a 200×200 local image is used as the reference image. This image is filtered using a 7×7 Gaussian low-pass filter, then downsampled by a factor of 4. This same operation is performed twice to obtain the simulated low-resolution hyperspectral image. The experimental results are evaluated using spectral angle (SAM), relative dimensionless global synthesis error (ERGAS), image quality index (UIQI), peak signal-to-noise ratio (PSNR), and structural similarity (SSIM).

[0079] The method designed in this invention was compared with eight hyperspectral image super-resolution methods, including 3D Fully Convolutional Network Super-Resolution Method (3DFN), Deep Feature Matrix Factorization Super-Resolution Method (DFMF), Interspectral Fusion Residual Network Super-Resolution Method (RIFN), Unified Convolutional Neural Network (UCNN), Fast Image Enhancement Method Based on Super-Resolution (ERCSR), Locally Normalized Convolutional Neural Network (LNaCNN), Multi-Scale Spatial Attention Method (MSMAN), and Adaptive Convolutional Long Short-Term Memory Network Method (ACLSTM). The hyperspectral image super-resolution method based on transposed convolutional long short-term memory network of this invention is denoted as MATCN. Tables 1 and 2 show the evaluation results when the resolution ratio r = 2 and the downsampling is 4 times, respectively.

[0080] Table 1. Super-resolution results when the resolution ratio is 2x downsampling.

[0081]

[0082] Table 2 shows the super-resolution results when the resolution ratio is 4x downsampling.

[0083]

[0084]

[0085] Four hyperspectral images were downsampled to a ratio of 2 and 4 according to their resolution ratios r. As shown in Table 1, in most cases, the proposed MATCN method achieved the lowest SAM and ERGAS values ​​and obtained the highest PSNR, UIQI, and SSIM values, meaning the super-resolution images exhibited the smallest overall angular and amplitude errors, while possessing the highest image quality and fidelity in terms of spectral and spatial structure. Among existing methods, MSMAN and ACLSTM performed second best, while in some cases, ACLSTM achieved competitive results with the proposed method, indicating that ConvLSTM is beneficial for collaboratively exploring spatial and spectral features. In contrast, 3DFN and DFMF performed relatively poorly due to the coarseness of their network structures. Table 2 lists the results at a resolution ratio of 4, from which similar results can be observed. For example, in most cases, the proposed method achieved the best performance, while MSMAN still provided competitive results. Simultaneously, due to the reduction in sample size and patch size, the implementation time of all networks was correspondingly reduced, including our proposed MATCN method, whose time has been reduced to a relatively acceptable range.

[0086] Figure 3-6 The super-resolution image is displayed, in which the R / G / B bands of the corresponding wavelengths are used to synthesize a pseudo-color image. It can be seen that... Figure 3These are super-resolution images of the University of Pavia dataset obtained using a super-resolution technique with a resolution ratio r = 2, where (a) corresponds to 3DFN; (b) corresponds to DFMF; (c) corresponds to RIFN; (d) corresponds to UCNN; (e) corresponds to ERCSR; (f) corresponds to LNaCNN; (g) corresponds to MSMAN; (h) corresponds to ACLSTM; (i) corresponds to MATCN; and (j) corresponds to Reference. Figure 3 In the results, all images show a high degree of color similarity compared to the reference image. RIFN reveals a slight loss of spatial detail, such as the pseudo-texture in the upper right corner, as shown by SSIM in Table 1.

[0087] Figure 4 These are super-resolution images of the Pavia City center dataset obtained using a super-resolution technique with a resolution ratio r = 2, where (a) corresponds to 3DFN; (b) corresponds to DFMF; (c) corresponds to RIFN; (d) corresponds to UCNN; (e) corresponds to ERCSR; (f) corresponds to LNaCNN; (g) corresponds to MSMAN; (h) corresponds to ACLSTM; (i) corresponds to MATCN; and (j) corresponds to Reference. Figure 4 In this context, DFMF is relatively blurry, which means it has a larger reconstruction error, as shown in Table 1.

[0088] Figure 5 These are super-resolution images of the University of Houston dataset obtained using a super-resolution technique with a resolution ratio r = 2, where (a) corresponds to 3DFN; (b) corresponds to DFMF; (c) corresponds to RIFN; (d) corresponds to UCNN; (e) corresponds to ERCSR; (f) corresponds to LNaCNN; (g) corresponds to MSMAN; (h) corresponds to ACLSTM; (i) corresponds to MATCN; and (j) corresponds to Reference. Figure 5 In UCNN, there is a slight spectral distortion, such as the color of the orbital in the lower right corner, which is also reflected in SAM in Table 1.

[0089] Figure 6 These are super-resolution images of the San Diego Air Station dataset obtained using a super-resolution technique with a resolution ratio r = 2, where (a) corresponds to 3DFN; (b) corresponds to DFMF; (c) corresponds to RIFN; (d) corresponds to UCNN; (e) corresponds to ERCSR; (f) corresponds to LNaCNN; (g) corresponds to MSMAN; (h) corresponds to ACLSTM; (i) corresponds to MATCN; and (j) corresponds to Reference. Figure 6 In the middle part, DFMF and ERCSR performed slightly worse than other methods in terms of spatial aspects. In contrast, the lower half of the image showed better quality in both spatial and spectral aspects.

[0090] also, Figure 7-10 Error plots for each SR method are shown. Figure 7 It is the band mean of the absolute error for the University of Pavia dataset when using a resolution ratio r = 4. Figure 8 It is the band mean of the absolute error for the Pavia city center dataset when using a resolution ratio r = 4. Figure 9 It is the band mean of the absolute error for the University of Houston dataset when using a resolution ratio r = 4. Figure 10 This is the banded mean of the absolute errors for the San Diego Air Station dataset when using a resolution ratio r = 4. From left to right, the datasets are: 3DFN, DFMF, RIFN, UCNN, ERCSR, LNaCNN, MSMAN, ACLSTM, and MATCN.

[0091] Figures 7 to 10 The accompanying figures are obtained by calculating the band average of the absolute errors between the super-resolution image and the reference image. The error maps provide a visual comparison of different methods in terms of amplitude fidelity and edge protection. It can be seen that the first two datasets exhibit significant errors due to the complexity of land cover distribution, particularly on building outlines. In contrast, in the latter two datasets, the errors at edges are more pronounced than on the surfaces of flat areas. This is consistent with expectations, as edge details are lost in low-resolution images. However, the advantages of the proposed network can be observed through comparisons with other methods.

[0092] While the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Any person skilled in the art can make possible variations and modifications to the technical solutions of the present invention using the disclosed methods and techniques without departing from the spirit and scope of the invention. Therefore, any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention, without departing from the scope of the present invention, shall fall within the protection scope of the present invention.

Claims

1. A hyperspectral image super-resolution method based on transposed convolutional long short-term memory network, characterized in that... Includes the following steps: Step S1: Preprocess the original hyperspectral image and crop it to generate a sub-pixel spatial image; Step S2: Degrade the image generated in step S1 by performing Gaussian filtering and nearest neighbor downsampling operations. Then, perform bicubic upsampling on the degraded image to obtain a medium-resolution hyperspectral image of the same size as in step S1. Step S3: The image generated in step S2 is degraded again, that is, Gaussian filtering and nearest neighbor downsampling are performed sequentially; then, bicubic upsampling is performed on the degraded image to obtain a low-resolution hyperspectral image of the same size as in step S1. Step S4: Construct a model based on a multidimensional attention-assisted transposed convolutional bidirectional long short-term memory network; Step S5: Construct a training sample set: Use the low-resolution hyperspectral image obtained in step S3 as the training image. Starting from the first pixel, take the P×P neighborhood data blocks of each pixel in each band in a boundary mirroring filling manner to form training samples. At the same time, perform the same processing operation on the medium-resolution hyperspectral image generated in step S2 to obtain the corresponding training label samples. A total of N training sample sets are obtained. Step S6: Training the network: Select the loss function and optimizer, input the prepared data into the network, calculate the loss function, and use adaptive moment estimation and backpropagation algorithms to train and update the network parameters; Step S7: Construct a test set: Crop a new sub-pixel space image from the original hyperspectral image. The size of the sub-pixel space image is the same as that of the preprocessed sub-pixel space image in step S1. Then, generate the test sample set in the same manner as in steps S2 and S3; Step S8: Evaluate algorithm performance: Input the test sample set from step S7 into the model trained in step S6, and measure the effectiveness of the algorithm using relevant evaluation metrics.

2. The hyperspectral image super-resolution method based on transposed convolutional long short-term memory network according to claim 1, characterized in that: In step S4 above, the model based on a multidimensional attention-assisted transposed convolutional bidirectional long short-term memory network is constructed. The specific process is as follows: Two ConvBiLSTM layers and one transposed ConvBiLSTM layer are stacked along the spectral dimension. Each layer contains c / 2 3×3 convolutional kernels, which are used for forward and backward computation, respectively. After stacking, c output feature maps are obtained. The transposed ConvBiLSTM layer is used to generate an output image of the same size as the target high-resolution hyperspectral image. Finally, a convolutional layer with s 1×1 convolutional kernels is used to generate s spectral bands. To capture salient features across the spatial, spectral, and channel dimensions, a multidimensional attention mechanism is employed. The spectral attention module first performs max pooling and average pooling on the original feature map in both spatial and spectral band dimensions, then passes it sequentially through three convolutional layers. Each convolutional layer has s 2×1 kernels, followed by a sigmoid function. The final spectral attention map is obtained by accumulating convolutional features and then injected into the original features through element-wise multiplication with dimension expansion. The channel attention module first performs maximum and average pooling on the original feature map in the spatial dimension, then passes it through three fully connected layers, each with c nodes, and then through the sigmoid function. Finally, the outputs of the FC layers are summed to obtain the channel attention feature map, and this channel attention feature map is injected into the original feature map. The non-local spatial attention module also includes three fully connected layers and a sigmoid function. After obtaining the readjusted channel pooling map, it performs attention calculation. The local spatial attention module first compresses the original feature map in the channel dimension through max pooling and average pooling. Then, it performs three dilated convolutions through s 3×3 convolution kernels. The effective convolution kernel size is 3×3, and the dilation factors are 1, 2, and 3, respectively. The outputs of the three convolutions are passed through the sigmoid function in sequence and then accumulated to form a local spatial attention map. Finally, the local spatial attention map and the non-local spatial attention map are multiplied to obtain a local-non-local spatial attention map, which is then fed into another sigmoid function layer. Attention modules are combined to form a multidimensional attention module, which is added to the overall framework model. The non-local spatial attention module is performed on the ConvBiLSTM layer, and the local-non-local spatial attention module is performed on the transposed ConvBiLSTM layer. Finally, short connections are added to directly connect the original feature map to the output feature map.

Citation Information

Patent Citations

  • Hyperspectral image super-resolution method based on spectral unmixing convolutional neural network

    CN113744134A

  • Hyperspectral remote sensing image super-resolution method based on Laplacian pyramid network

    CN114841860A