Hyperspectral image super-resolution reconstruction system and method based on three-branch network

Through the hyperspectral image super-resolution reconstruction system based on the three-branch network, the 3DInception module and the DSSA module are used to extract spectral and spatial features, which solves the problems of high computational cost and insufficient feature extraction in hyperspectral image super-resolution technology, and achieves Efficient image reconstruction and fine detail extraction.

CN117952833BActive Publication Date: 2024-09-03CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202311421657.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2024-09-03
Estimated Expiration
2043-10-30

AI Technical Summary

Technical Problem

Existing hyperspectral image super-resolution technology is computationally expensive and cannot fully extract spatial features when using 3D convolution for reconstruction.

Method used

Using a system based on a three-branch network, the 3DInception module is used to extract the spectral information of the image and reduce the computational cost. The DSSA module is used to fully extract spatial features, including primary feature extraction, global spatial information extraction, local spatial information extraction and multi-scale spectrum. Information is extracted, fused and reconstructed through the image reconstruction unit.

Benefits of technology

The computational burden is effectively reduced, and the reconstructed image has more realistic spectral information and detailed texture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117952833B
    Figure CN117952833B
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and in particular to a system and method for super-resolution reconstruction of a hyperspectral image based on a three-branch network. The system comprises: a primary feature extraction unit, a global spatial information extraction unit, a local spatial information extraction unit, a multi-scale spectral information extraction unit and an image reconstruction unit. The primary feature extraction unit is used to extract a shallow feature map of a low-resolution image. The global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit obtain global feature information, local feature information and multi-scale spectral information of the low-resolution image by processing the shallow feature map. The image reconstruction unit is used to obtain a reconstructed image according to the fusion result of the added global feature information, the local feature information and the multi-scale spectral information, and obtain a reconstructed hyperspectral image super-resolution image through a convolution layer. The present invention reduces the high computational cost brought by 3D convolution reconstruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a hyperspectral image super-resolution reconstruction system and method based on a three-branch network. Background Art

[0002] Hyperspectral images (HSI) have dozens or even hundreds of spectral bands. The rich spectral information they carry reflects the spectral characteristics of different materials, which is conducive to more accurate detection and classification of targets in the observed scene. Due to the mutual constraints between spectral resolution and spatial resolution, hyperspectral images are usually accompanied by lower spatial resolution, which makes the spectral interpretation work "rough". The purpose of super-resolution (SR) is to make the image more refined and improve the spatial resolution of the image. As a low-cost and efficient image post-processing technology, hyperspectral image super-resolution reconstruction has great application prospects and value.

[0003] The current super-resolution methods can be divided into two types, namely multi-image fusion and single image super-resolution. Multi-image fusion can supplement external prior information and usually obtain excellent reconstruction results, but the premise of image fusion is to obtain auxiliary multispectral images or panchromatic images that are accurately aligned with the target HSI. This premise greatly limits the scope of application of this method. Therefore, single image super-resolution is a reconstruction method that is easier to expand. However, there are two technical difficulties in single hyperspectral image super-resolution technology: one is how to reduce the high computational cost brought by 3D convolution while reconstructing it, and the other is how to fully extract spatial features. Summary of the invention

[0004] In order to solve the problems in the prior art that 3D convolution is used for reconstruction but the high computational cost cannot be reduced and the spatial features cannot be fully extracted, the present invention provides a hyperspectral image super-resolution reconstruction system and method based on a three-branch network, which uses a 3DInception module to extract the spectral information of the image, reduces the high computational cost brought by 3D convolution reconstruction, and uses a DSSA module to fully extract the spatial features.

[0005] The hyperspectral image super-resolution reconstruction system based on a three-branch network proposed in the present invention comprises a primary feature extraction unit, a global spatial information extraction unit, a local spatial information extraction unit, a multi-scale spectral information extraction unit and an image reconstruction unit, wherein:

[0006] The global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are arranged in parallel, and two ends of the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are connected to the primary feature extraction unit and the image reconstruction unit respectively;

[0007] The primary feature extraction unit is used to extract a shallow feature map of a low-resolution image, the global spatial information extraction unit is used to obtain global feature information of the low-resolution image by processing the shallow feature map, the local spatial information extraction unit is used to obtain local feature information of the low-resolution image by processing the shallow feature map, the multi-scale spectral information extraction unit is used to process the shallow feature map to obtain multi-scale spectral information of the low-resolution image, the image reconstruction unit is used to obtain a reconstructed image according to a fusion result of the added global feature information, local feature information and multi-scale spectral information, the reconstructed image is added to the enlarged image obtained by performing bicubic interpolation calculation on the low-resolution image, and after passing through a convolution layer, a reconstructed high-spectral image super-resolution image is obtained.

[0008] Preferably, the primary feature extraction unit utilizes three cascaded common convolution units to extract a shallow feature map of the low-resolution image.

[0009] Preferably, the global spatial information extraction unit is composed of four recursively connected DSSA modules, each DSSA module is composed of a first common convolution unit, a hole convolution submodule, a spatial feature submodule and a spectral feature submodule, the hole convolution submodule is composed of a double-branch cascade hole convolution and a second common convolution unit, the double-branch cascade hole convolution is composed of four cascaded 5*5 hole convolution layers and four cascaded 3*3 hole convolution layers in parallel, the spatial feature submodule is composed of an average pooling layer, a maximum pooling layer and a first 1*1 cascade convolution, the average pooling layer and the maximum pooling layer are in parallel, the spectral feature submodule includes a second 1*1 cascade convolution, and the spatial feature submodule is arranged in parallel with the spectral feature submodule;

[0010] The shallow feature map is input into the double-branch cascade dilated convolution for processing, and the processing result of the double-branch cascade dilated convolution is added to the shallow feature map and then input into the second common convolution unit to obtain an enhanced feature map, which is respectively transmitted to the spectral feature submodule and the spatial feature submodule. The average pooling layer and the maximum pooling layer in the spectral feature submodule perform pooling on the enhanced feature map, and the pooling results of the average pooling layer and the maximum pooling layer are added. After the dimension reduction operation is performed through the first 1*1 cascade convolution, the spectral weight is output, and the spectral weight is multiplied with the shallow feature map to obtain the global spectral feature. The second 1*1 cascade convolution in the spatial feature submodule performs dimensionality reduction on the enhanced feature map and then outputs the spatial weight. The spatial weight is multiplied with the shallow feature map to obtain the global spatial feature. The global spectral feature, the global spatial feature, and the shallow feature map are added and input into the first common convolution unit for fusion.

[0011] Preferably, the first 1*1 cascade convolution and the second 1*1 cascade convolution each include two 1*1 convolution layers, and the activation layers of the two 1*1 convolution layers include a Relu function and a Sigmoid function, respectively.

[0012] Preferably, the local spatial information extraction unit is composed of n cascaded residual modules, each residual module includes two convolutional layers and an activation layer, the residual module is used to extract local features of the shallow feature map, and the shallow feature map is added to the feature map extracted by the residual module to complete a residual operation.

[0013] Preferably, the multi-scale spectral information extraction unit is composed of a third common convolution unit, a 3DInception module and a cascade convolution unit connected in sequence, and the cascade convolution unit includes two cascaded common convolution units;

[0014] The third ordinary convolution unit is used to convert the channels of the shallow feature map into channels adapted to the 3D Inception module. The 3D Inception module is used to extract multi-scale spectral information of the shallow feature map. The cascade convolution unit is used to convert the number of channels of the extracted feature map into the same number of channels as the global spatial information extraction unit and the local spatial information extraction unit.

[0015] Preferably, the reconstruction unit is composed of a common convolution layer, an activation layer and a transposed convolution layer, and the activation layer includes a ReLU function.

[0016] Preferably, the 3D Inception module includes a 7*1*1 convolution unit group, a 5*1*1 convolution unit group and a 3*1*1 convolution unit group, the 7*1*1 convolution unit group, the 5*1*1 convolution unit group and the 3*1*1 convolution unit group are connected in parallel, and the calculation results of the 7*1*1 convolution unit group, the 5*1*1 convolution unit group and the 3*1*1 convolution unit group are concat connected.

[0017] The hyperspectral image super-resolution reconstruction method based on a three-branch network proposed in the present invention is implemented using a hyperspectral image super-resolution reconstruction system based on a three-branch network, and specifically includes the following steps:

[0018] S1: Build a hyperspectral image super-resolution reconstruction system based on a three-branch network;

[0019] S2: The hyperspectral image is divided into an image training set and an image verification set according to the image area of ​​7:3. Both the image training set and the image verification set are pairs of high-resolution hyperspectral image and low-resolution hyperspectral image.

[0020] S3: The low-resolution hyperspectral images of the image training set are input into the hyperspectral image super-resolution reconstruction system based on the three-branch network for training, and the Adam optimization algorithm is used to iteratively update the network parameters to obtain the trained three-branch network model;

[0021] S4: Input the hyperspectral image to be reconstructed into the three-branch network model trained in step S3 to obtain a reconstructed hyperspectral image with super-resolution.

[0022] Preferably, step S2 specifically includes the following steps:

[0023] S21: Randomly select n patches from the image training set and image verification set respectively;

[0024] S22: perform data expansion on all patches obtained in step S21, and perform bicubic downsampling on all patches after data expansion into low-resolution hyperspectral images to obtain high-resolution hyperspectral image-low-resolution hyperspectral image pairs.

[0025] Preferably, step S3 specifically includes the following steps:

[0026] S31: Low-resolution hyperspectral images in the image training set I LR Input to the primary feature extraction unit to obtain the shallow feature map I primary :

[0027] I primary =f primary (I LR ) (1);

[0028] Among them, f primary is the feature extraction function;

[0029] S32: shallow feature map I primary The global feature information is respectively input into the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit, and the global feature information I is obtained accordingly.G_Spatial , local feature information I L_Spatial and multi-scale spectral information I Spectral :

[0030]

[0031] I L_Spatial =f L_Spatial (I primary ) (3);

[0032] I Spectral =f Spectral (I primary ) (4);

[0033] Among them, f G_Spatial is the global feature information extraction function, f L_Spatial is the local feature information extraction function, f Spectral is the multi-scale spectral information extraction function, n is the recursive times of the global feature information extraction function;

[0034] S33: Input the calculation results of equations (2) to (4) to the image reconstruction unit, and calculate the reconstructed image I output by the image reconstruction unit by the following equation: Reconstruct :

[0035] I Reconstruct =f Reconstruct (I G_Spatial +I L_spatial +I Spectral ) (5);

[0036] Among them, f Reconstruct Reconstruct function for features;

[0037] S34: Reconstruct the image I Reconstruct Compared with low resolution hyperspectral image I LR The enlarged images obtained by bicubic interpolation are added, and the reconstructed hyperspectral image super-resolution image I is obtained through the convolution layer. SR :

[0038] I SR =f Conv (I Reconstruct +BIC( I L R )) (6);

[0039] Among them, BIC is the bicubic interpolation function, f Conv is the fusion function;

[0040] S35: Use the Adam optimizer to update the network parameters of the three-branch network, and every time the loss function group is iterated n times, n ≥ 2, the network performance of the three-branch network is verified using the image verification set until the loss function group converges or reaches the training number of the Adam optimizer, and a trained three-branch network model is obtained.

[0041] Preferably, the loss function group consists of an L1 loss function, a SAM loss function and a gradient loss function, and the weight distribution of the L1 loss function, the SAM loss function and the gradient loss function is 1:0.3:0.1.

[0042] Preferably, the formula corresponding to the DSSA module is:

[0043]

[0044] Among them, I 1 is the output feature of the DSSA module, I 0 is the input feature of the DSSA module, is the global space feature, is the global spectral feature.

[0045] Preferably, the formula corresponding to the 3D Inception module is:

[0046] I 3D =Concat(I3, I5, I7, I 2 ) (8);

[0047] Among them, I 3D is the output feature of the 3D Inception module, I 2 is the input feature of the 3D Inception module, I3 is the output feature of the 3*1*1 convolution unit group, I5 is the output feature of the 5*1*1 convolution unit group, and I7 is the output feature of the 7*1*1 convolution unit group.

[0048] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0049] (1) The present invention introduces 3D convolution to mine the spectral information of the image, which greatly reduces the computational burden of the three-branch network, and the reconstructed image has more realistic spectral information.

[0050] (2) The present invention mines the self-similarity of the image and reconstructs a more detailed texture by extracting and integrating the global spatial information. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 11 is a schematic diagram of the logical structure of a hyperspectral image super-resolution reconstruction system based on a three-branch network provided according to an embodiment of the present invention;

[0052] Figure 2 is a schematic diagram of the logical structure of a DSSA module provided according to an embodiment of the present invention;

[0053] Figure 3 is a schematic diagram of the logical structure of a 3D Inception module provided according to an embodiment of the present invention;

[0054] Figure 4 It is a schematic diagram of the process of a hyperspectral image super-resolution reconstruction method based on a three-branch network provided according to an embodiment of the present invention;

[0055] Figure 5 It is a schematic diagram of objective index comparison results of a hyperspectral image super-resolution reconstruction method based on a three-branch network provided in an embodiment of the present invention and other cutting-edge methods on an MDAS dataset;

[0056] Figure 6 It is a schematic diagram of the visual comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided by an embodiment of the present invention and other cutting-edge methods on the MDAS dataset;

[0057] Figure 7 It is a schematic diagram of objective index comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided by an embodiment of the present invention and other cutting-edge methods on the Chikusei dataset;

[0058] Figure 8 It is a schematic diagram of the visual comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided by an embodiment of the present invention and other cutting-edge methods on the Chikusei dataset;

[0059] Fig. 9 It is a schematic diagram of objective index comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided by an embodiment of the present invention and other cutting-edge methods on the Pavia Centre dataset;

[0060] Fig.10 This is a schematic diagram of the visual comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided according to an embodiment of the present invention and other cutting-edge methods on the Pavia Centre dataset. DETAILED DESCRIPTION

[0061] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.

[0062] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0063] Figure 1 The logical structure of a hyperspectral image super-resolution reconstruction system based on a three-branch network provided according to an embodiment of the present invention is shown.

[0064] like Figure 1 As shown, the hyperspectral image super-resolution reconstruction system based on the three-branch network proposed in the present invention includes a primary feature extraction unit, a global spatial information extraction unit, a local spatial information extraction unit, a multi-scale spectral information extraction unit and an image reconstruction unit, wherein:

[0065] The global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are arranged in parallel, and both ends of the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are respectively connected to the primary feature extraction unit and the image reconstruction unit.

[0066] The primary feature extraction unit is used to extract a shallow feature map of a low-resolution image, the global spatial information extraction unit is used to obtain global feature information of the low-resolution image by processing the shallow feature map, the local spatial information extraction unit is used to obtain local feature information of the low-resolution image by processing the shallow feature map, the multi-scale spectral information extraction unit is used to process the shallow feature map to obtain multi-scale spectral information of the low-resolution image, the image reconstruction unit is used to obtain a reconstructed image according to a fusion result of the added global feature information, local feature information and multi-scale spectral information, the reconstructed image is added to the enlarged image obtained by performing bicubic interpolation calculation on the low-resolution image, and after passing through a convolution layer, a reconstructed high-spectral image super-resolution image is obtained.

[0067] The primary feature extraction unit uses three cascaded ordinary convolution units to extract shallow feature maps of low-resolution images.

[0068] Figure 2 The figure shows the logical structure of the DSSA module provided according to the embodiment of the present invention.

[0069] The global spatial information extraction unit consists of four recursively connected DSSA modules, such as Figure 2As shown, each DSSA module is composed of a first common convolution unit, a hole convolution submodule, a spatial feature submodule and a spectral feature submodule. The hole convolution submodule is composed of a double-branch cascaded hole convolution and a second common convolution unit. The double-branch cascaded hole convolution is composed of four cascaded 5*5 hole convolution layers and four cascaded 3*3 hole convolution layers in parallel. The spatial feature submodule is composed of an average pooling layer, a maximum pooling layer and a first 1*1 cascaded convolution. The average pooling layer and the maximum pooling layer are connected in parallel. The spectral feature submodule includes a second 1*1 cascaded convolution. The spatial feature submodule is arranged in parallel with the spectral feature submodule.

[0070] The shallow feature map is input into the double-branch cascade dilated convolution for processing, and the processing result of the double-branch cascade dilated convolution is added to the shallow feature map and then input into the second common convolution unit to obtain an enhanced feature map, which is respectively transmitted to the spectral feature submodule and the spatial feature submodule. The average pooling layer and the maximum pooling layer in the spectral feature submodule perform pooling on the enhanced feature map, and the pooling results of the average pooling layer and the maximum pooling layer are added. After the dimension reduction operation is performed through the first 1*1 cascade convolution, the spectral weight is output, and the spectral weight is multiplied with the shallow feature map to obtain the global spectral feature. The second 1*1 cascade convolution in the spatial feature submodule performs dimensionality reduction on the enhanced feature map and then outputs the spatial weight. The spatial weight is multiplied with the shallow feature map to obtain the global spatial feature. The global spectral feature, the global spatial feature, and the shallow feature map are added and input into the first common convolution unit for fusion.

[0071] The formula corresponding to the DSSA module is:

[0072]

[0073] Among them, I 1 is the output feature of the DSSA module, I 0 is the input feature of the DSSA module, is the global space feature, is the global spectral feature.

[0074] The calculation process of the formula corresponding to the DSSA module is as follows:

[0075] A1: Sending the features into the dilated convolution submodule yields:

[0076]

[0077] in, To enhance the feature map, It is the feature map output by four cascaded 3*3 hole convolution layers. It is the feature map output by four cascaded 5*5 hole convolution layers, I 0is the feature map input to the DSSA module, f d,3 is the feature extraction function of four cascaded 3*3 hole convolutional layers, f d,5 It is the feature extraction function of four cascaded 5*5 hole convolution layers.

[0078] A2: The enhanced feature map is sent to the spectral feature submodule and the spatial feature submodule respectively to obtain:

[0079]

[0080]

[0081] Among them, f Spatial To obtain the function of global space characteristics, f Spectral A function for obtaining global spectral characteristics.

[0082] A3: Combine steps A1-A2 to obtain formula (1) corresponding to the DSSA module.

[0083] The conventional spatial attention mechanism directly performs average pooling or maximum pooling on the input feature map, which is too "rough" for image restoration tasks such as super-resolution. This violent dimensionality reduction method will lose the dimensional information of the feature map. Once the dimensional information is lost, it is difficult to supplement it from the existing information. For 3D data blocks such as hyperspectral images, directly compressing the spectral dimension into a single channel can easily lead to spectral distortion. Therefore, this module uses the first 1*1 cascade convolution and the second 1*1 cascade convolution to complete the gradual dimensionality reduction of the spectral band. The 1*1 cascade convolution has excellent channel interaction capabilities and retains some spectral correlation information while reducing the dimensionality.

[0084] The first 1*1 cascade convolution and the second 1*1 cascade convolution both include two 1*1 convolution layers, and the activation layers of the two 1*1 convolution layers include a Relu function and a Sigmoid function, respectively.

[0085] The local spatial information extraction unit is composed of n cascaded residual modules. Each residual module includes two convolutional layers and one activation layer. The residual module is used to extract local features of the shallow feature map. The shallow feature map is added to the feature map extracted by the residual module to complete a residual operation.

[0086] The multi-scale spectral information extraction unit is composed of a third common convolution unit, a 3D Inception module and a cascade convolution unit connected in sequence, and the cascade convolution unit includes two cascaded common convolution units.

[0087] The third ordinary convolution unit is used to convert the channels of the shallow feature map into channels adapted to the 3D Inception module. The 3D Inception module is used to extract multi-scale spectral information of the shallow feature map. The cascade convolution unit is used to convert the number of channels of the extracted feature map to the same number of channels as the global spatial information extraction unit and the local spatial information extraction unit.

[0088] Figure 3 The logical structure of the 3D Inception module provided according to an embodiment of the present invention is shown.

[0089] like Figure 3 As shown, the 3D Inception module includes a 7*1*1 convolution unit group, a 5*1*1 convolution unit group, and a 3*1*1 convolution unit group. The 7*1*1 convolution unit group, the 5*1*1 convolution unit group, and the 3*1*1 convolution unit group are connected in parallel, and the calculation results of the 7*1*1 convolution unit group, the 5*1*1 convolution unit group, and the 3*1*1 convolution unit group are concat connected.

[0090] Conventional multi-channel 2D convolution is convolution on 3D data, but the 2D convolution kernel can only slide calculation on the height and width of the feature map, while 3D convolution can achieve sliding in three dimensions of height, width and depth of the feature map. Excluding the case where the convolution kernel size is 1×1×1 and the stride is too large, this sliding usually causes elements to be repeatedly involved in the calculation, and the sliding calculation process is the process of extracting and integrating the correlation of elements in the neighborhood. The sliding calculation in the spectral dimension is also the advantage of 3D convolution compared to 2D convolution in extracting spectral information, but this process of repeated element participation in calculation will inevitably bring a high amount of calculation. Therefore, the present invention proposes a 3DInception module for extracting multi-scale spectral information. Since the 3D Inception module is only responsible for the extraction of spectral information, that is, all 3D convolutions in the 3D Inception module only need to retain the scale of the spectral direction, and the shape of the convolution kernel is k×1×1, therefore, the repeated calculation part of the convolution only occurs in the spectral dimension, which greatly reduces the computational cost.

[0091] The formula corresponding to the 3D Inception module is:

[0092] I 3D =Concat(I3, I5, I7, I 2 ) (5);

[0093] Among them, I 3D is the output feature of the 3D Inception module, I 2is the input feature of the 3D Inception module, I3 is the output feature of the 3*1*1 convolution unit group, I5 is the output feature of the 5*1*1 convolution unit group, and I7 is the output feature of the 7*1*1 convolution unit group.

[0094] The reconstruction unit consists of a normal convolutional layer, an activation layer, and a transposed convolutional layer, and the activation layer includes a ReLU function.

[0095] Figure 4 The flowchart of the hyperspectral image super-resolution reconstruction method based on a three-branch network provided according to an embodiment of the present invention is shown.

[0096] like Figure 4 As shown, the hyperspectral image super-resolution reconstruction method based on the three-branch network proposed in the present invention is implemented by using the hyperspectral image super-resolution reconstruction system based on the three-branch network, and specifically includes the following steps:

[0097] S1: Build a hyperspectral image super-resolution reconstruction system based on a three-branch network.

[0098] S2: The hyperspectral image is divided into an image training set and an image verification set according to the image area of ​​7:3. The image training set and the image verification set are both high-resolution hyperspectral image-low-resolution hyperspectral image pairs.

[0099] Step S2 specifically includes the following steps:

[0100] S21: Randomly select n patches from the image training set and the image verification set respectively.

[0101] Different patch sizes are set according to the magnification factor, where 2, 3, and 4 times magnification correspond to 64×64, 96×96, and 128×128 patch sizes, respectively.

[0102] S22: perform data expansion on all patches obtained in step S21, and perform bicubic downsampling on all patches after data expansion into low-resolution hyperspectral images to obtain high-resolution hyperspectral image-low-resolution hyperspectral image pairs.

[0103] Data augmentation includes random horizontal flipping, rotation at different angles, and scaling at different magnifications for each patch. The rotation angles are 90 degrees, 180 degrees, and 270 degrees, and the scaling factors are 0.5, 0.75, and 1, respectively.

[0104] S3: The low-resolution hyperspectral images of the image training set are input into the hyperspectral image super-resolution reconstruction system based on the three-branch network for training, and the Adam optimization algorithm is used to iteratively update the network parameters to obtain the trained three-branch network model.

[0105] Step S3 specifically includes the following steps:

[0106] S31: Low-resolution hyperspectral images in the image training set I LR Input to the primary feature extraction unit to obtain the shallow feature map I primary :

[0107] I primary =f primary (I LR ) (6);

[0108] Among them, f primary is the feature extraction function.

[0109] S32: shallow feature map I primary The global feature information is respectively input into the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit, and the global feature information I is obtained accordingly. G_Spatial , local feature information I L_Spatial and multi-scale spectral information I Spectral :

[0110]

[0111] I L_Spatial =f L_Spatial (I primary ) (8);

[0112] I Spectral =f Spectral (I prtmary ) (9);

[0113] Among them, f G_Spatial is the global feature information extraction function, f L_Spatial is the local feature information extraction function, f Spectral is the multi-scale spectral information extraction function, and n is the number of recursions of the global feature information extraction function.

[0114] S33: Input the calculation results of equations (7) to (9) to the image reconstruction unit, and calculate the reconstructed image I output by the image reconstruction unit by the following equation: Reconstruct :

[0115] I Reconstruct =f Reconstruct (I G_Spatial +I L_spatial +I Spectral ) (10);

[0116] Among them, f Reconstruct Reconstruct the function for the feature.

[0117] S34: Reconstruct the image I Reconstruct Compared with low resolution hyperspectral image I LR The enlarged images obtained by bicubic interpolation are added, and the reconstructed hyperspectral image super-resolution image I is obtained through the convolution layer. SR :

[0118] I SR =f Conv (I Reconstruct +BIC(I LR )) (11);

[0119] Among them, BIC is the bicubic interpolation function, f Conv is the fusion function.

[0120] S35: Use Adam optimizer (β1=0.9andβ2=0.999) to update the network parameters of the three-branch network, and the loss function group is iterated n times, n≥2, and the network performance of the three-branch network is verified using the image verification set until the loss function group converges or reaches the training number of Adam optimizer, and a trained three-branch network model is obtained.

[0121] The batch size is set to 4, the initial learning rate is set to 0.0001, and the number of training times is set to 40 (when training to 20 generations, the learning rate becomes 0.1 times the initial learning rate).

[0122] The loss function group consists of L1 loss function, SAM loss function and gradient loss function, and the weight distribution of L1 loss function, SAM loss function and gradient loss function is 1:0.3:0.1.

[0123] The network parameters of the three-branch network are updated according to the loss function. As the loss function gradually decreases, the super-resolution reconstruction effect of the three-branch network on low-resolution images becomes better and better.

[0124] S4: Input the hyperspectral image to be reconstructed into the three-branch network model trained in step S3 to obtain a reconstructed hyperspectral image with super-resolution.

[0125] Figure 5-Figure 10 The objective indicator comparison results and visualization comparison results of the hyperspectral image super-resolution reconstruction method based on the three-branch network provided according to an embodiment of the present invention and other cutting-edge methods on the MDAS, Chikusei and Pavia Centre datasets are shown.

[0126] Combination Figure 5-Figure 10 It can be seen that the hyperspectral image super-resolution reconstruction method based on the three-branch network proposed in the present invention can achieve good super-resolution reconstruction results on the three data sets.

[0127] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0128] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A hyperspectral image super-resolution reconstruction system based on a three-branch network, characterized in that: It includes a primary feature extraction unit, a global spatial information extraction unit, a local spatial information extraction unit, a multi-scale spectral information extraction unit and an image reconstruction unit, wherein: The global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are arranged in parallel, and two ends of the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit are connected to the primary feature extraction unit and the image reconstruction unit respectively; The primary feature extraction unit is used to extract a shallow feature map of a low-resolution image, the global spatial information extraction unit is used to obtain global feature information of the low-resolution image by processing the shallow feature map, the local spatial information extraction unit is used to obtain local feature information of the low-resolution image by processing the shallow feature map, the multi-scale spectral information extraction unit is used to process the shallow feature map to obtain multi-scale spectral information of the low-resolution image, the image reconstruction unit is used to obtain a reconstructed image by processing a fusion result of the added global feature information, the local feature information and the multi-scale spectral information, the reconstructed image is added to an enlarged image obtained by performing bicubic interpolation calculation on the low-resolution image, and a reconstructed high-spectral image super-resolution image is obtained through a convolution layer.

2. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 1 is characterized in that: The primary feature extraction unit utilizes three cascaded common convolution units to extract a shallow feature map of the low-resolution image.

3. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 2 is characterized in that: The global spatial information extraction unit is composed of four recursively connected DSSA modules, each of which is composed of a first common convolution unit, a hole convolution submodule, a spatial feature submodule and a spectral feature submodule, the spatial feature submodule is arranged in parallel with the spectral feature submodule, the hole convolution submodule is composed of a double-branch cascade hole convolution and a second common convolution unit, the double-branch cascade hole convolution is composed of four cascaded 5*5 hole convolution layers and four cascaded 3*3 hole convolution layers in parallel, the spatial feature submodule is composed of an average pooling layer, a maximum pooling layer and a first 1*1 cascade convolution, the average pooling layer and the maximum pooling layer are connected in parallel, and the spectral feature submodule includes a second 1*1 cascade convolution; The shallow feature map is input into the double-branch cascade dilated convolution for processing, and the processing result of the double-branch cascade dilated convolution is added to the shallow feature map and then input into the second common convolution unit to obtain an enhanced feature map, and the enhanced feature map is respectively transmitted to the spectral feature submodule and the spatial feature submodule, the average pooling layer and the maximum pooling layer in the spectral feature submodule perform pooling processing on the enhanced feature map, the pooling processing results of the average pooling layer and the maximum pooling layer are added, and the spectral weight is output after the dimension reduction operation is performed by the first 1*1 cascade convolution, and the global spectral feature is multiplied by the spectral weight and the shallow feature map to obtain the global spectral feature, the second 1*1 cascade convolution in the spatial feature submodule performs dimensionality reduction operation on the enhanced feature map and then outputs the spatial weight, and the global spatial feature is multiplied by the shallow feature map to obtain the global spatial feature, and the global spectral feature, the global spatial feature and the shallow feature map are added and input into the first common convolution unit for fusion.

4. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 3 is characterized in that: The first 1*1 cascade convolution and the second 1*1 cascade convolution each include two 1*1 convolution layers, and the activation layers of the two 1*1 convolution layers include a Relu function and a Sigmoid function, respectively.

5. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 4 is characterized in that: The local spatial information extraction unit is composed of n cascaded residual modules, each of which includes two convolutional layers and one activation layer. The residual module is used to extract local features of the shallow feature map, and the shallow feature map is added to the feature map extracted by the residual module to complete a residual operation.

6. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 5 is characterized in that: The multi-scale spectral information extraction unit is composed of a third common convolution unit, a 3D Inception module and a cascade convolution unit connected in sequence, and the cascade convolution unit includes two cascaded common convolution units; The third ordinary convolution unit is used to convert the channels of the shallow feature map into channels adapted to the 3D Inception module, the 3D Inception module is used to extract multi-scale spectral information of the shallow feature map, and the cascaded convolution unit is used to convert the number of channels of the extracted feature map into the same number of channels as the global spatial information extraction unit and the local spatial information extraction unit.

7. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 6 is characterized in that: The reconstruction unit is composed of a common convolution layer, an activation layer and a transposed convolution layer, and the activation layer includes a ReLU function.

8. The hyperspectral image super-resolution reconstruction system based on a three-branch network according to claim 7, characterized in that: The 3D Inception module includes a 7*1*1 convolution unit group, a 5*1*1 convolution unit group and a 3*1*1 convolution unit group. The 7*1*1 convolution unit group, the 5*1*1 convolution unit group and the 3*1*1 convolution unit group are connected in parallel, and the calculation results of the 7*1*1 convolution unit group, the 5*1*1 convolution unit group and the 3*1*1 convolution unit group are concat connected.

9. A method for super-resolution reconstruction of hyperspectral images based on a three-branch network, implemented using the system for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 8, characterized in that: The specific steps include: S1: Building a hyperspectral image super-resolution reconstruction system based on a three-branch network as claimed in claim 8; S2: dividing the hyperspectral image into an image training set and an image verification set according to an image area of ​​7:3, wherein both the image training set and the image verification set are image pairs of high-resolution hyperspectral image and low-resolution hyperspectral image; S3: inputting the low-resolution hyperspectral images of the image training set into the hyperspectral image super-resolution reconstruction system based on the three-branch network for training, and iteratively updating the network parameters using the Adam optimization algorithm to obtain a trained three-branch network model; S4: Inputting the hyperspectral image to be reconstructed into the three-branch network model trained in step S3 to obtain a reconstructed hyperspectral image with super resolution.

10. The method for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 9, characterized in that: The step S2 specifically includes the following steps: S21: randomly selecting n patches from the image training set and the image verification set respectively; S22: performing data expansion on all patches obtained in step S21, and performing bicubic downsampling on all patches after data expansion into low-resolution hyperspectral images to obtain high-resolution hyperspectral image-low-resolution hyperspectral image pairs.

11. The method for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 9, characterized in that: The step S3 specifically includes the following steps: S31: The low-resolution hyperspectral image I in the image training set is LR Input to the primary feature extraction unit to obtain a shallow feature map : (1); in, is the feature extraction function; S32: The shallow feature map The global feature information is respectively input into the global spatial information extraction unit, the local spatial information extraction unit and the multi-scale spectral information extraction unit to obtain the global feature information , the local feature information and the multiscale spectral information : (2); (3); (4); in, is the global feature information extraction function, is the local feature information extraction function, is a multi-scale spectral information extraction function, and n is the number of recursions of the global feature information extraction function; S33: Input the calculation results of equations (2) to (4) to the image reconstruction unit, and calculate the reconstructed image output by the image reconstruction unit by the following equation: : (5); in, Reconstruct function for features; S34: reconstructing the image Compared with the low-resolution hyperspectral image I LR The enlarged images obtained by bicubic interpolation are added, and the reconstructed hyperspectral image super-resolution image I is obtained through the convolution layer. SR : (6); in, is the bicubic interpolation function, is the fusion function; S35: Use the Adam optimizer to update the network parameters of the three-branch network, and use the image verification set to verify the network performance of the three-branch network every n iterations of the loss function group, where n≥2, until the loss function group converges or reaches the training number of the Adam optimizer, thereby obtaining a trained three-branch network model.

12. The method for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 9, characterized in that: The loss function group consists of an L1 loss function, a SAM loss function and a gradient loss function, and the weight distribution of the L1 loss function, the SAM loss function and the gradient loss function is 1:0.3:0.

1.

13. The method for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 9, characterized in that: The formula corresponding to the DSSA module is: (7); in, is the output feature of the DSSA module, is the input feature of the DSSA module, is the global space feature, is the global spectral feature.

14. The method for super-resolution reconstruction of hyperspectral images based on a three-branch network according to claim 9, characterized in that: The formula corresponding to the 3D Inception module is: (8); in, is the output feature of the 3D Inception module, is the input feature of the 3D Inception module, is the output feature of the 3*1*1 convolution unit group, is the output feature of the 5*1*1 convolution unit group, It is the output feature of the 7*1*1 convolution unit group.

Citation Information

Patent Citations

  • A face image super-resolution method with the amalgamation of global characteristics and local details information

    CN101216889A

  • Image super-resolution reconstruction method based on cascade residual convolutional neural network

    CN110276721A

  • Hyperspectral image super-resolution reconstruction method based on multi-scale transformation

    CN113222822A

  • Hyperspectral image super-resolution reconstruction method based on multi-scale space-spectrum feature learning

    CN115272078A

  • Hyperspectral remote sensing image super-resolution reconstruction method and device and computer equipment

    CN116309070A