Hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network

Through methods based on spectral grouping and hybrid convolutional networks, hyperspectral images are adaptively grouped and deep feature extracted, 2D and 3D hybrid convolutional networks are combined for intra-group fusion, and cross-group fusion is performed through the attention sparse mask mechanism. , which solves the feature extraction limitations and information redundancy problems in the existing technology during full-band input, and achieves high-quality hyperspectral image super-resolution reconstruction.

CN118799180APending Publication Date: 2024-10-18NANJING UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410801605.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing hyperspectral image super-resolution method based on convolutional neural network is difficult to design a deeper network when the whole band is input simultaneously, which limits the extraction of global features, and the design based on 2D CNN makes the algorithm pay more attention to spatial features and reduces The spectral fidelity is compromised, and there is the problem of information redundancy.

Method used

A method based on spectral grouping and hybrid convolutional network is used to perform adaptive grouping and deep feature extraction on hyperspectral images, 2D and 3D hybrid convolutional networks are combined for intra-group fusion, and cross-group fusion is performed through the attention sparse mask mechanism. , to achieve global optimization modeling.

Benefits of technology

It improves the capture capabilities of spectral diversity and spatial resolution, generates high-quality hyperspectral images, and achieves improved visual effects and effective utilization of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799180A_ABST
    Figure CN118799180A_ABST
Patent Text Reader

Abstract

The invention discloses a hyperspectral image super-resolution reconstruction method based on spectrum grouping and a hybrid convolutional network, and the method comprises the steps: carrying out the adaptive grouping of hyperspectral images according to a spectrum correlation coefficient, and carrying out shuffling in a group according to a spectrum distance, thereby facilitating the improvement of the spectrum diversity in the group, and improving the reconstruction efficiency. And meanwhile, the capability of capturing tiny features in a specific spectral range is enhanced. The intra-group spectrum fusion module and the 2D / 3D hybrid convolution model based on progressive up-sampling are adopted, so that the spatial super-resolution is realized, the utilization of spectrum information is effectively improved, and a high-quality visual effect can be generated. A hyperspectral image with high spatial resolution is generated from coarse to fine. In order to integrate information among different groups, a cross-group fusion module is designed, complementation of cross-band information in a spectral domain and a spatial domain is globally realized, and the module learns space and channel masks through an attention sparse mask mechanism, so that redundancy calculation is identified and positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network, and belongs to the technical field of computer vision enhancement. Background Art

[0002] Hyperspectral imagery (HSI) provides a method to capture the features of the Earth's surface in a large number of continuous frequency bands, providing a powerful tool for applications such as environmental monitoring, military reconnaissance, and precision agriculture. It has been a hot topic in the field of remote sensing in recent years. However, due to the limitations of instruments and platforms, the actual acquired hyperspectral images have low spatial resolution, which seriously limits their application in fine recognition and positioning. Although the resolution can be improved by improving hardware equipment, there are defects such as high cost and long cycle. Therefore, enhancing the resolution of hyperspectral images through image processing algorithms has attracted much attention. Hyperspectral image super-resolution (HSI SR) aims to obtain high-resolution (HR) images through low-resolution (LR) images, thereby overcoming the inherent resolution limitation.

[0003] In recent years, with the rapid development of deep learning technology, especially the successful application of convolutional neural networks (CNNs) in the field of image processing, new breakthroughs have been made in the image super-resolution problem. The introduction of deep learning models enables the effective learning of complex mapping relationships from a large amount of training data, and on this basis, predicts high-resolution images. However, compared with RGB image super-resolution, HSI SR is more challenging. First, HSI consists of hundreds of spectral bands, and spectral correlation needs to be considered when improving the resolution, which increases the complexity of the problem. Second, hyperspectral images usually cover a wide area, while their spatial resolution is limited, which is different from the size of the detected objects. In addition, due to the relatively small number of hyperspectral image samples, it is challenging to establish a high-precision data-driven model. There are currently some traditional methods, such as interpolation-based, multi-frame image-based, and sample-based learning-based single-frame image super-resolution methods. These methods perform well on grayscale images or color images, but the reconstruction effect is not ideal when directly applied to hyperspectral images.

[0004] Existing hyperspectral image super-resolution (HSI SR) methods based on convolutional neural networks (CNNs) have the following problems:

[0005] (1) The simultaneous input of all bands makes it difficult to design deeper networks under limited hardware conditions, which limits the extraction of global features;

[0006] (2) Although the use of group reconstruction avoids the computational complexity of high spectral dimensions, the design based on 2D CNN makes the algorithm focus more on spatial features and reduces spectral fidelity. In addition, these group-based methods have problems in losing spectral responses in other ranges and retaining information redundancy caused by continuous similar bands, resulting in relatively less information.

[0007] Therefore, a new hyperspectral image super-resolution reconstruction method is needed to solve the above problems. Summary of the invention

[0008] Purpose of the invention: In view of the problems existing in the prior art, the present invention provides a hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network.

[0009] A hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network includes the following steps:

[0010] Step 1: Degrade the high-resolution hyperspectral image to obtain a corresponding low-resolution hyperspectral image, and form an image pair data set with the low-resolution hyperspectral image and the high-resolution hyperspectral image;

[0011] Step 2: Construct a hyperspectral image super-resolution reconstruction network based on spectral grouping and hybrid convolution, and train it using the data set obtained in step 1 to obtain a trained hyperspectral image super-resolution reconstruction network.

[0012] The hyperspectral image super-resolution reconstruction network includes a spectral grouping module, an intra-group fusion module, an inter-group fusion module, a global upsampling module and a reconstruction module;

[0013] The spectral grouping module is used to adaptively group the input low-resolution hyperspectral image from the spectral dimension to form N groups. The bands in each group are divided into three subsets according to the spectral distance. and

[0014] The intra-group fusion module uses a 2D and 3D hybrid convolutional network to fusion the three subsets in the group. and Perform deep feature extraction and get the output of the current group By interacting with the output of the current group And the output of the previous group Get the fused output of the current group, cascade the output results of each group, and get the local reconstructed super-resolution result F;

[0015] The cross-group fusion module uses an attention sparse mask mechanism to perform global optimization modeling on the locally reconstructed super-resolution result F;

[0016] Step 3: Input the low-resolution hyperspectral image into the trained hyperspectral image super-resolution reconstruction network to obtain a high-resolution hyperspectral image.

[0017] Furthermore, the degradation processing performed on the high-resolution hyperspectral image in step 1 is to perform bicubic interpolation downsampling on the high-resolution hyperspectral image.

[0018] Furthermore, the spectral grouping module in step 2 uses the following formula to adaptively group the input low-resolution hyperspectral image from the spectral dimension:

[0019]

[0020] In the formula, ρ k,m represents the correlation coefficient between the kth and mth spectral bands, Cov(·) and Var(·) represent the covariance and variance, l k and l m They correspond to the kth and mth spectral bands respectively;

[0021] Furthermore, the spectral grouping module in step 2 divides the bands in each group into three subsets according to the spectral distance using the following formula:

[0022]

[0023] In the formula, and represents the initial features of the three subsets, f Concat (.) indicates channel cascade operation, Indicates the current reference band in the group, i=0, 1 or 2, indicating the subset number.

[0024] Furthermore, the intra-group fusion module in step 2 uses a 2D and 3D hybrid convolutional network to ensemble the three subsets in the group. and Perform deep feature extraction, expressed as follows:

[0025]

[0026] in, Represents a two-dimensional convolution operation with a convolution kernel of 3×3. Represents 3 residual block operations, each of which includes a 3×3 convolutional layer, a ReLU activation layer, and a skip connection;

[0027]

[0028] In the formula, unsqueeze means adding extra dimensions, and C represents the number of channels in the intermediate feature layer; and They represent the three-dimensional convolution operations with convolution kernels of 1×3×3 and 3×1×1, σ represents the ReLU function, and y 3D represents the output of the 3D unit, F L_UP represents the local upsampling operation, λ represents the local upsampling factor, and y L_UP represents the output after local upsampling, Indicates separation operation from the spectral dimension; and Represents the deep features of spatial-spectral fusion after 3D convolution.

[0029] In step 2, the intra-group fusion module of 2D / 3D hybrid convolution is used to fusion the three subsets in the group. Perform deep feature extraction. First, three residual blocks are used as feature extractors. Each residual block includes a 3×3 convolutional layer, ReLU activation, and skip connection. This process converts the input image into nonlinear low-frequency features, which helps capture semantic features related to low-frequency information. In order to fully explore the potential information in each subset, three branches are executed in parallel, and the output of each branch is mapped into deep features. The output results of the three parallel branches are Then, in order to explore spectral correlation, 3D convolution is used to enhance spatial resolution and improve spectral fidelity at the same time. In addition, a progressive upsampling strategy is adopted to decompose the complex reconstruction task into simpler subtasks. In order to reduce the number of parameters of the model, the present invention uses separable 3D convolution to replace the traditional 3D convolution in the 3D unit.

[0030] Furthermore, the intra-group fusion module in step 2 interacts with the output of the current group And the output of the previous group Get the output after the current group is fused

[0031]

[0032] In the formula, and The output of the current set of bands and the output of the previous set of bands, Represents a two-dimensional convolution operation with a convolution kernel of 3×3. represents a two-dimensional connection operation; ω 1 and ω 2 They represent the weights of the current group and the previous group of band outputs, gs represents the number of spectral bands in the group, λ represents the local upsampling factor, H and W represent the height and width of the image, j represents the group number, there are N groups in total, and f Concat (.) indicates channel cascade operation, and Represents the deep features of spatial-spectral fusion;

[0033] The output results of each group are cascaded to obtain the local reconstructed super-resolution result F:

[0034]

[0035] In the formula, S represents the number of spectral bands, f Concat (.) indicates a channel cascade operation.

[0036] Furthermore, the cross-group fusion module in step 2 adopts the attention sparse mask mechanism for global optimization modeling, which is expressed by the following formula:

[0037]

[0038] In the formula, represents the output of the attention sparse mask mechanism ASMU, represents the output of the cross-group fusion module; f ASMU Represents the attention sparse mask mechanism operation, which includes the following steps:

[0039] First, the local reconstruction results Generated through spatial attention mechanism Then, the Gumbel softmax technique is used to obtain the softened spatial attention sparse mask Similarly, the channel attention mechanism generates Then the Gumbel Softmax technique is introduced to obtain the softened channel attention sparse mask Among them, the spatial attention sparse mask and channel attention sparse mask It is expressed by the following formula:

[0040]

[0041] In the formula, and are the spatial attention sparse mask and channel attention sparse channel, respectively, where l represents the number of sparse convolutional layers; and is the Gumbel noise tensor; x and y are the horizontal and vertical indices respectively, c is the channel; τ is the temperature parameter. When τ approaches infinity, the samples in the Gumbel softmax distribution tend to be uniformly distributed; and when τ approaches 0, it tends to be one-hot distributed.

[0042] By combining the local reconstruction result F with the spatial attention sparse mask (binary spatial mask) and channel attention sparse channels (binary channel masks) are multiplied separately to activate features of different parts of F, reducing redundant information in image reconstruction while enabling the network to identify "important" regions and channels in the feature map. The mask is generated by the Gumbel softmax trick, preserving the gradients at all locations to optimize the kernel weights of the convolutional layer.

[0043] Furthermore, l=4.

[0044] Furthermore, the global upsampling module in step 2 is expressed as follows:

[0045]

[0046] In the formula, F G_UP (·) represents the global upsampling operation, r' is the remaining size of the total upsampling factor r after local upsampling, is the output of the cross-group fusion module.

[0047] Furthermore, the reconstruction module in step 2 is represented by the following formula:

[0048]

[0049] In the formula, F conv (·) represents the reconstruction of the convolutional layer, r is the upsampling factor, I LR is a low-resolution hyperspectral image, F UP (·) indicates that bicubic interpolation is used to upsample the image to r times at one time, which is similar to the above F L_UP (·) and F G_UP (·)different.

[0050] Beneficial effects: The hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network of the present invention adaptively groups the hyperspectral images according to the spectral correlation coefficient, and shuffles them within the group according to the spectral distance, which helps to improve the spectral diversity within the group, while enhancing the ability to capture tiny features within a specific spectral range. The intra-group spectral fusion module is adopted, and the 2D / 3D hybrid convolution model based on progressive upsampling is used to achieve spatial super-resolution while effectively improving the utilization of spectral information, which can produce high-quality visual effects. High-spatial-resolution hyperspectral images are generated from coarse to fine. In order to integrate information between different groups, the present invention designs a cross-group fusion module, which globally realizes the complementarity of cross-band information in the spectral domain and the spatial domain. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flowchart of the hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network;

[0052] Figure 2A training flowchart for constructing a hybrid convolutional network based on spectral grouping;

[0053] Figure 3 This is a strategy diagram for the hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network;

[0054] Figure 4 This is a framework diagram of the hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network, which includes the overall network architecture, the network diagram of the intra-group fusion module, and the network diagram of the cross-group fusion module. DETAILED DESCRIPTION

[0055] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings to more clearly and completely illustrate the technical solutions of the present invention.

[0056] Combination Figure 1 , Figure 2 , Figure 3 and Figure 4 The hyperspectral image super-resolution reconstruction method based on spectral grouping and mixed convolution of the present invention comprises the following steps:

[0057] Step 1: Generate a training sample set.

[0058] In order to further implement the above technical solution, in step 1, the high-resolution hyperspectral image is degraded to obtain the corresponding low-resolution hyperspectral image; then the high-resolution and low-resolution hyperspectral images are divided into blocks, and each pair of high-resolution and low-resolution hyperspectral image blocks is a training sample. In this embodiment, the following method is adopted:

[0059] Step 1-1: Take a hyperspectral data set, create a low-resolution image and a high-resolution image pair on the data set, use the original image as the high-resolution image, perform Gaussian kernel blur downsampling and interpolation processing on the original image to obtain a low-resolution image;

[0060] Step 1-2: Set the image block size and slider step size, obtain image blocks through the slider on the high-low resolution image pair and save the corresponding high- and low-resolution image block pairs.

[0061] Step 2: Construct a hyperspectral image super-resolution reconstruction network model based on spectral grouping and hybrid convolution:

[0062] like Figure 3As shown, the network constructed by the present invention is divided into three main parts: spectral adaptive grouping, intra-group fusion module and cross-group fusion module. First, the bands are adaptively grouped according to the spectral correlation to form N groups. Each group is divided into three subsets by spectral shuffling to integrate bands with different spectral distances and increase the spectral diversity within the group. Secondly, the intra-group fusion module uses a 2D / 3D hybrid convolutional network for deep feature extraction and uses complementary information within the group to achieve reconstruction of the current group band. Finally, the cross-group fusion module uses an attention sparse mechanism for global optimization modeling to ensure spectral continuity, while avoiding redundant calculations by learning space and channel masks.

[0063] The hyperspectral image super-resolution reconstruction network of the present invention is Figure 4 The network adopts the design of spectral grouping and hybrid convolution. The network includes an intra-group fusion module, and uses 2D / 3D convolution and local upsampling to construct a deep feature extraction network. It has 3 parallel branches, 1 3D convolution unit, 2 hidden channel feature cascade operations, 3 weight-sharing local upsampling modules, and 1 front-back group fusion module. Among them, the three parallel branches realize weight sharing, and each branch contains 2 2D convolution layers and 3 residual blocks. The cross-group fusion network adopts 2D convolution, attention sparse mask mechanism and residual block to optimize the information fusion of different groups, realize the dynamic pruning redundancy of the network, and improve the spatial and spectral features. The attention sparse mask mechanism includes 3 2D convolution layers, 4 sparse mask convolutions (the hidden layer contains the spatial attention mechanism), 1 channel feature cascade operation and channel attention mechanism (the hidden layer contains 3 2D convolution layers and sigmoid function). These designs enable the network to effectively perform hyperspectral image super-resolution reconstruction and achieve the optimization of spatial and spectral features.

[0064] Step 3: Using the training sample set, a hyperspectral image super-resolution reconstruction model based on spectral grouping and hybrid convolution is constructed to learn the mapping relationship from low-resolution images to high-resolution images:

[0065] The training process in this embodiment is as follows:

[0066] Step 3-1: First, the high-low resolution image pairs in the training sample set are represented as (x 1 ,y 1 ),(x 2 ,y 2 ),…,(x i ,y i ),…,(x n ,y n ), where y i is x i The corresponding high-resolution image; i = 1, 2, …, n, is used as input.

[0067] Step 3-2: The goal of the present invention is to use a super-resolution network to input a low-resolution hyperspectral image I LR Reconstruct and generate high-resolution hyperspectral image I SR .in, represents a low-resolution hyperspectral image, Represents the reconstruction result, represents the original high-resolution hyperspectral image, W and H are the width and height of HSI, S is the number of channels of HSI, and r is the SR scale factor generated by LR. The specific expression is as follows:

[0068] I SR =H Net (I LR )(1)

[0069] Among them, H Net (·) represents the proposed function for super-resolution reconstruction of hyperspectral images based on spectral grouping and hybrid convolution.

[0070] Step 3-3: Adaptively group the input low-resolution hyperspectral image into multiple groups (N) based on spectral correlation. The correlation formula is shown in Formula 2:

[0071]

[0072] In the formula, ρ k,m represents the correlation coefficient between the kth and mth spectral bands, Cov(·) and Var(·) represent the covariance and variance, l k and l m They correspond to the kth and mth spectral bands respectively, and gs represents the number of spectral bands in each group.

[0073] Step 3-4: Model each group recursively, taking the jth group as an example. Within each group, although the bands are highly correlated, the adjacent bands are highly similar, resulting in information redundancy. Therefore, the bands in the same group are divided into three subgroups according to the spectral distance to isolate adjacent bands and increase spectral diversity. The details are as follows:

[0074]

[0075] In the formula, and They represent the shallow feature information after the initial fusion of the three subsets; f Concat (·) indicates that 1×1 two-dimensional convolution is used to perform feature fusion on the channels of the feature map.

[0076] Step 3-5: Use the intra-group fusion module of 2D / 3D hybrid convolution to fused the three subsets F in the group 0 、F 1 、F 2 To fully explore the potential information of each group, three parallel branches are used to map them into deep features respectively. The 2D unit contains multiple residual blocks to map shallow features to deep features, while the 3D unit performs spectral-spatial feature fusion. The details are as follows:

[0077]

[0078] in, Represents a two-dimensional convolution operation with a convolution kernel of 3×3. Represents 3 residual block operations, each residual block includes a 3×3 convolutional layer, ReLU activation and skip connection.

[0079] The spectral-spatial feature fusion is performed using an operation with a 3D convolution layer. In order to reduce the number of parameters of the model, the present invention replaces the traditional 3D convolution in the 3D unit with a separable 3D convolution.

[0080]

[0081] Among them, unsqueeze means adding additional dimensions, and C represents the number of channels in the intermediate feature layer; and They represent the three-dimensional convolution kernel 1×3×3 and 3×1×1 operations respectively, σ represents the ReLU function, and y 3D represents the output of the 3D unit, F L_UP represents the local upsampling operation, λ represents the local upsampling factor, and y L_UP represents the output after local upsampling, Indicates separation operation from the spectral dimension; Represents the deep features of spatial-spectral fusion after 3D convolution.

[0082] Since the network is implemented by a recursive strategy, the present invention adopts a feature context fusion method to realize information interaction between adjacent groups. 1 and ω 2 To dynamically adjust their weights:

[0083]

[0084] in, Indicates a two-dimensional convolution operation with a convolution kernel of 3×3; Represents the output of the current band in the group in the intra-group fusion module. Represents the output of the previous band in the group in the intra-group fusion module, ω 1 and ω 2 They represent the weights of the current band and the previous band output respectively. gs represents the number of spectral bands in the group, H and W represent the height and width of the image respectively, j represents the group number, j = 1, 2, ..., N, and there are N groups in total.

[0085]

[0086] The output results of each group are cascaded to obtain the local reconstructed super-resolution result F, which is expressed as follows:

[0087]

[0088] In the formula, S represents the number of spectral bands, f Concat (.) indicates a channel cascade operation.

[0089] Step 3-6: To achieve information complementarity between different groups, a cross-group fusion module is used, including an attention sparse mask mechanism and a residual block. The missing details in low-resolution images are mainly distributed in the edge and texture areas. To reduce the computational burden, an attention sparse mask mechanism is introduced to prune sparse redundancy. The expression is as follows:

[0090]

[0091] In the formula, represents the output of the attention sparse mask mechanism ASMU, represents the output of the cross-group fusion module; f ASMU Represents the operation of the attention sparse mask mechanism, which includes spatial attention, channel attention, and pruning units. The principle of the attention sparse mask mechanism is as follows:

[0092] First, the local reconstruction results Generated through spatial attention mechanism Then, the Gumbel softmax technique is used to obtain the softened spatial attention sparse mask Similarly, the channel attention mechanism generates Then the Gumbel Softmax technique is introduced to obtain the softened channel attention sparse mask The expression is as follows:

[0093]

[0094] In the formula, and All are binarized, and the attention sparse mask mechanism includes l densely connected sparse mask convolutions, and l=4 is set in the present invention; and is the Gumbel noise tensor; x, y are the horizontal and vertical indices respectively, c is the channel; τ is the temperature parameter. When τ approaches infinity, the samples in the Gumbel softmax distribution tend to be uniformly distributed; and when τ approaches 0, it tends to be one-hot distributed.

[0095] By combining the local reconstruction result F with the spatial attention sparse mask (binary spatial mask) and channel attention sparse channels (binary channel masks) are multiplied separately to activate features of different parts of F, reducing redundant information in image reconstruction while enabling the network to identify "important" regions and channels in the feature map. Masks are generated through the Gumbel softmax trick, preserving gradients at all locations to optimize the kernel weights of the convolutional layer.

[0096] Step 3-7: To upgrade the acquired features to the target size, an upsampling module is used to generate the spatial spectral feature map of the target. Then the hyperspectral image I is completed through the reconstruction operation of the convolution layer. SR reconstruction.

[0097]

[0098] In the formula, F G_UP (·) represents the global upsampling operation, r' is the remaining size of the total upsampling factor r after local upsampling, and the feature map is upsampled to the required ratio, generating the corresponding feature output I from coarse to fine. SR .

[0099]

[0100] In the formula, F conv (·) represents the reconstruction of the convolutional layer, F UP (·) indicates that bicubic interpolation is used to upsample the image to r times at one time, which is similar to the above F L_UP (·) and F G_UP (·) Different. UP (·) indicates that bicubic interpolation is used directly to perform a total upsampling of r times. For example, if the total super-resolution is 8 times, local upsampling only super-resolutions 2 times, and global upsampling then continues to reconstruct the remaining 4 times. UP The input image LR is simply upsampled by 8 times by bicubic interpolation. The global and local upsampling methods of the present invention are both performed by transposed convolution, which can amplify the image and extract features at the same time.

[0101] Step 4: Repeat the above steps until the model converges by updating the convolution and weights. Once the training is completed, a trained hyperspectral image super-resolution network model based on spectral grouping and hybrid convolution will be obtained.

[0102] Step 5: Use the trained hyperspectral image super-resolution network model based on spectral grouping and mixed convolution to process the low-resolution hyperspectral image to be reconstructed, so as to reconstruct the super-resolution hyperspectral image.

[0103] Embodiment 1:

[0104] The hyperspectral image super-resolution reconstruction method based on spectral grouping and mixed convolution of the present invention comprises the following steps:

[0105] (1) First, the high-dimensional low-resolution hyperspectral image is spectrally grouped based on spectral correlation. Generally, adjacent spectral bands have a large correlation. For example, the original low-resolution hyperspectral image has 128 spectral bands. If the 7 bands with large correlation are grouped into 7 groups, then 19 groups can be formed. If the last group has less than 7 bands, 7 bands are added from the adjacent group. After spectral grouping, multiple low-dimensional low-resolution hyperspectral images are obtained.

[0106] (2) Since adjacent spectra have a large correlation, the seven bands in a group are generally adjacent bands, and the spectral spatial similarity of adjacent bands is also very high.

[0107] In order to make the spectrum diverse and reduce spatial redundancy, we further shuffle the spectrum within the same group. For example, there are 7 bands in the group (0, 1, 2, 3, 4, 5, 6), with 3 as the reference band. The first subgroup is (2, 3, 4), the second subgroup is (1, 3, 5), and the third subgroup is (0, 3, 6). Then, the feature dimensions are expanded in parallel through convolution to obtain the representations of the three subsets F. (0) 0 , F (0) 1 , F (0) 2 .

[0108] (3) Put F (0) 0 , F (0) 1 and F (0) 2 It is sent to the intra-group fusion module and 2D convolution is used to extract deep features to obtain F (1) 0 , F (1) 1 , F (1)2 . Then use 3D convolution to F (1) 0 , F (1) 1 , F (1) 2 Further feature extraction and fusion to obtain deeper features F (2) 0 , F (2) 1 , F (2) 2 .

[0109] (4) F (2) 0 , F (2) 1 , F (2) 2 Fusion is performed to obtain the output F of the current band j D . Set the current group F j D and the previous group F j-1 D The features of j bSR .

[0110] (5) Cascade the reconstruction features of each group [y 1 bSR ,...,y j bSR ,...,y N bSR ], and obtain the local reconstruction result F.

[0111] (6) To achieve information complementarity between different groups, a cross-group fusion module is used to operate F, which includes using the attention sparse mask mechanism to prune sparse redundancy. That is, the input of the cross-group fusion module is F, and the output is y out CGM .

[0112] (7) For y out CGM Perform global upsampling and reconstruction to obtain the final output I SR .

[0113] In summary, the reconstruction is divided into two stages. In the first stage, the intra-group module performs local reconstruction, and in the second stage, the cross-group module performs the remaining reconstruction. For example, if the total magnification is 8 times, the first stage first magnifies the input by 2 times, and then gives the 2x result to the second stage. The second stage then reconstructs the remaining 4 times based on the first stage. Finally, an 8x image is reconstructed.

Claims

1. A hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network, characterized in that: The steps include: Step 1: Degrade the high-resolution hyperspectral image to obtain a corresponding low-resolution hyperspectral image, and form an image pair data set with the low-resolution hyperspectral image and the high-resolution hyperspectral image; Step 2: Construct a hyperspectral image super-resolution reconstruction network based on spectral grouping and hybrid convolution, and train it using the data set obtained in step 1 to obtain a trained hyperspectral image super-resolution reconstruction network. The hyperspectral image super-resolution reconstruction network includes a spectral grouping module, an intra-group fusion module, an inter-group fusion module, a global upsampling module and a reconstruction module; The spectral grouping module is used to adaptively group the input low-resolution hyperspectral image from the spectral dimension to form N groups. The bands in each group are divided into three subsets according to the spectral distance. and The intra-group fusion module uses a 2D and 3D hybrid convolutional network to fusion the three subsets in the group. and Perform deep feature extraction and get the output of the current group By interacting with the output of the current group And the output of the previous group The output after fusion of the current group is obtained, and the output results of each group are cascaded to obtain a locally reconstructed super-resolution result F; the cross-group fusion module uses an attention sparse mask mechanism to perform global optimization modeling on the locally reconstructed super-resolution result F; Step 3: Input the low-resolution hyperspectral image into the trained hyperspectral image super-resolution reconstruction network to obtain a high-resolution hyperspectral image.

2. The method for super-resolution reconstruction of hyperspectral images based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: In step 1, the degradation processing of the high-resolution hyperspectral image is to perform bicubic interpolation downsampling on the high-resolution hyperspectral image.

3. The hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: The spectral grouping module in step 2 uses the following formula to adaptively group the input low-resolution hyperspectral image from the spectral dimension: In the formula, ρ k,m represents the correlation coefficient between the kth and mth spectral bands, Cov(·) and Var(·) represent the covariance and variance, l k and l m Corresponding to the kth and mth spectral bands respectively.

4. The hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: The spectral grouping module in step 2 divides the bands in each group into three subsets according to the spectral distance using the following formula: In the formula, and represents the initial features of the three subsets, f Concat (.) indicates channel cascade operation, Indicates the current reference band in the group, i=0, 1 or 2, indicating the subset number.

5. The hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: The intra-group fusion module in step 2 uses a 2D and 3D hybrid convolutional network to fusion the three subsets in the group. and Perform deep feature extraction, expressed as follows: in, Represents a two-dimensional convolution operation with a convolution kernel of 3×3. Represents 3 residual block operations, each of which includes a 3×3 convolutional layer, a ReLU activation layer, and a skip connection; In the formula, unsqueeze means adding extra dimensions, and C represents the number of channels in the intermediate feature layer; and They represent the three-dimensional convolution operations with convolution kernels of 1×3×3 and 3×1×1, σ represents the ReLU function, and y 3D represents the output of the 3D unit, F L_UP represents the local upsampling operation, λ represents the local upsampling factor, and y L_UP represents the output after local upsampling, Indicates separation operation from the spectral dimension; and Represents the deep features of spatial-spectral fusion after 3D convolution.

6. The method for super-resolution reconstruction of hyperspectral images based on spectral grouping and hybrid convolutional network according to claim 1, characterized in that: The intra-group fusion module in step 2 interacts with the output of the current group And the output of the previous group Get the output after the current group is fused In the formula, and The output of the current set of bands and the output of the previous set of bands, Represents a two-dimensional convolution operation with a convolution kernel of 3×3. represents a two-dimensional connection operation; ω1 and ω2 represent the weights of the current group and the previous group of band outputs, respectively; gs represents the number of spectral bands in the group; λ represents the local upsampling factor; H and W represent the height and width of the image, respectively; j represents the group number, there are N groups in total; f Concat (.) indicates channel cascade operation, and Represents the deep features of spatial-spectral fusion; The output results of each group are cascaded to obtain the local reconstructed super-resolution result F: In the formula, S represents the number of spectral bands, f Concat (.) indicates a channel cascade operation.

7. The hyperspectral image super-resolution reconstruction method based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: The cross-group fusion module described in step 2 uses the attention sparse mask mechanism for global optimization modeling, which is expressed by the following formula: In the formula, represents the output of the attention sparse mask mechanism ASMU, represents the output of the cross-group fusion module; f ASMU Represents the attention sparse mask mechanism operation, which includes the following steps: First, the local reconstruction results Generated through spatial attention mechanism Then, the Gumbel softmax technique is used to obtain the softened spatial attention sparse mask Similarly, the channel attention mechanism generates Then the Gumbel Softmax technique is introduced to obtain the softened channel attention sparse mask Among them, the spatial attention sparse mask and channel attention sparse mask It is expressed by the following formula: In the formula, and are the spatial attention sparse mask and channel attention sparse channel, respectively, where l represents the number of sparse convolutional layers; and is the Gumbel noise tensor; x and y are the horizontal and vertical indices respectively, c is the channel; τ is the temperature parameter. When τ approaches infinity, the samples in the Gumbel softmax distribution tend to be uniformly distributed; and when τ approaches 0, it tends to be one-hot distributed.

8. The method for super-resolution reconstruction of hyperspectral images based on spectral grouping and hybrid convolutional network as claimed in claim 1, characterized in that: The global upsampling module in step 2 is expressed as follows: In the formula, F G-UP (·) represents the global upsampling operation, r' is the remaining size of the total upsampling factor r after local upsampling, is the output of the cross-group fusion module.

9. The method for super-resolution reconstruction of hyperspectral images based on spectral grouping and hybrid convolutional network according to claim 1, characterized in that: The reconstruction module in step 2 is represented by the following formula: In the formula, F conv (·) represents the reconstruction of the convolutional layer, r is the upsampling factor, I LR is a low-resolution hyperspectral image; F UP (·) indicates that bicubic interpolation is used to upsample the image to r times at one time.

Citation Information

Cited By

  • Banknote anomaly detection method and system based on big data

    CN119049170A

  • Spectrum reconstruction method based on self-attention mechanism

    CN120070221A