Multi-level measurement hyperspectral super-resolution method for near-field security and protection scene

Capturing the characteristics and pixel-level information of hyperspectral images through a multi-level metric module solves the problems of spatial resolution improvement and spectral consistency in hyperspectral image super-resolution technology, achieving higher reconstruction accuracy and memory efficiency, and is suitable for On-site security tasks.

CN118735786APending Publication Date: 2024-10-01NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410788127.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing hyperspectral image super-resolution technology is difficult to maintain the consistency of spectral information while improving spatial resolution, resulting in blurred reconstruction details and the introduction of interference information, which affects the fine identification and analysis of on-site security tasks.

Method used

A multi-level metric hyperspectral super-resolution method is proposed. Through the feature similarity measurement (FSM) module and the pixel similarity measurement (PSM) module, the feature space dependence and pixel-by-pixel dependence of intermediate features across multiple levels and contexts are captured respectively. detailed complementary information, dynamically fuse spatial and spectral features, and build adaptive filters to enhance the integrity and discriminability of the reconstructed information.

Benefits of technology

Significantly improves the spatial resolution and reconstruction accuracy of hyperspectral images, suppresses the introduction of interference information, is suitable for the deployment of memory-limited equipment, provides higher memory efficiency and quantitative and qualitative evaluation, and is suitable for low-altitude UAV cruises and disaster warnings and rescue missions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735786A_ABST
    Figure CN118735786A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-level hyperspectral super-resolution measurement method for a near-field security scene, and provides a feature similarity measurement module which is used for calculating a feature space dependency relationship between a plurality of levels and context intermediate features. Besides, a pixel similarity measurement module is also provided, and more detailed complementary information in context reconstruction features is explored by constructing a spatial adaptive filter for each pixel. A large number of experiments performed on natural and remote sensing hyperspectral data sets show that the method has superiority in quantitative and qualitative evaluation. Besides, compared with other methods, the designed multi-level measurement method not only realizes satisfactory performance, but also shows high memory efficiency, which indicates that the method is suitable for being deployed on equipment with limited memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image processing, and in particular relates to a multi-level metric hyperspectral super-resolution method for local security scenes. Background Art

[0002] Land security refers to a diversified, cross-domain, three-dimensional, collaborative, and intelligent physical system for space defense, protection, production, safety, and rescue needs; specific application scenarios include low-altitude security, underwater security, and cross-domain security. The land security technology system includes six major research and technical directions: related light detection, stable detection, multimodal cognitive computing, group intelligent decision-making, wading optics, and cross-domain remote sensing. How to obtain high-resolution image information is the key technology for the effective implementation of typical land security tasks such as low-altitude drone detection, extreme disaster warning and rescue, and target reconnaissance.

[0003] Hyperspectral images contain fine-grained spectral information, reflecting the subtle differences between different substances. They are important information carriers in the cross-domain remote sensing research direction in the on-site security technology system. Compared with natural images, the spectral interval in the hyperspectral imaging system is narrower, and the photon energy entering it is less. In order to maintain a high signal-to-noise ratio, the photosensitive units of each sensor need to collect more photons in a larger spatial area, which directly leads to lower spatial resolution of hyperspectral images. In addition, when designing a hyperspectral imager, in order to maintain the sensitivity of the sensor in spectral resolution, spatial resolution is often sacrificed. The problem of low spatial resolution caused by the constraints of its own hardware conditions is bound to affect the fine recognition and analysis of targets in the image, and seriously limit the application of hyperspectral images. Therefore, it is urgent to improve the spatial resolution of hyperspectral images through technical means to improve the accuracy and efficiency of hyperspectral image interpretation, thereby promoting the performance of downstream fine recognition tasks. Without changing the hardware level of the imaging system, it is more practical to enhance the spatial resolution of hyperspectral images from the perspective of signal processing, that is, hyperspectral image super-resolution technology. Different from the super-resolution task of natural images, hyperspectral image super-resolution technology needs to maintain the consistency of spectral information while improving spatial resolution to reduce the interference of spectral disorder on downstream tasks.

[0004] At present, using deep networks to mine high-level semantic features contained in hyperspectral images has become the mainstream method for super-resolution reconstruction of hyperspectral images. Among them, in order to explore spectral context information while coping with the memory challenges brought by the high-dimensional characteristics of hyperspectral images, recursive architectures have been widely used recently. They only use a limited number of adjacent bands as model input to reduce memory consumption. In addition, since such methods can further tighten the understanding space to a certain extent and alleviate the ill-posed problem, they can achieve excellent reconstruction performance. In addition to combining the features of adjacent bands, such architectures combine context information by introducing feedback embedding from previous recursive units, thereby enhancing the integrity of the reconstructed information. However, existing methods only consider the reconstruction features of previous bands and ignore the complementarity of context information at different levels. In addition, they often compensate the previous feedback information to the reference band through splicing or addition operations, resulting in the lack of discriminability of the introduction of context information, and thus the phenomenon of blurred reconstruction details is prone to occur. Summary of the invention

[0005] In order to overcome the shortcomings of the prior art, the present invention provides a multi-level metric hyperspectral super-resolution method for on-site security scenarios, and proposes a feature similarity measurement (Feature-wise Similarity Measurement, FSM) module for calculating the feature spatial dependencies across multiple levels and contextual intermediate features. In addition, a pixel similarity measurement (Pixel-wise Similarity Measurement, PSM) module is proposed to explore more detailed complementary information in contextual reconstruction features by constructing a spatial adaptive filter for each pixel. Extensive experiments on natural and remote sensing hyperspectral datasets demonstrate the superiority of the proposed method in quantitative and qualitative evaluation. In addition, compared with other methods, the designed multi-level metric method not only achieves satisfactory performance, but also exhibits high memory efficiency, indicating that it is suitable for deployment on memory-constrained devices.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] Step 1: Group the hyperspectral image into bands and use it as input;

[0008] Step 2: Construct a dual-branch spatial-spectral information exploration structure to obtain the aggregation results of the intermediate feature layer of the current band and the context

[0009] Step 3: Construct a feature similarity measurement FSM module to capture discriminative and strong complementary content from the contextual intermediate layer information;

[0010] Construct FSM modules to model the intermediate information passed Intermediate features between the target Global dependencies between Then, according to the dependency descriptor Will The feature layer in is divided into two subsets and sent to their respective branches to explore complementary information more specifically;

[0011] Step 4: Dynamically fuse 2D branch space features and 3D branch space-spectral characteristics

[0012] Step 5: Construct a pixel similarity measurement PSM module to match the correlation content in the context reconstruction feature;

[0013] Step 6: Obtain super-resolution reconstruction results

[0014] Furthermore, the step 1 is specifically as follows:

[0015] Given a low-resolution hyperspectral image A raw high-resolution hyperspectral image Where L is the number of bands, w×h and W×H are the spatial sizes of low spatial resolution and high spatial resolution hyperspectral images respectively; based on the high similarity between neighboring bands, the input low-resolution hyperspectral image is first The bands are divided into L neighborhood groups, and super-resolution reconstruction is performed band by band in a recursive manner;

[0016] The lth input band subgroup is defined as:

[0017]

[0018] in yes The lth band of

[0019] For the edge band, and The corresponding grouping is generated by the edge extension strategy; assuming is the band of the current super-resolution reconstruction, the lth band group g l is fed into HMSR to reconstruct the corresponding super-resolution bands

[0020] Furthermore, the step 2 is specifically as follows:

[0021] Step 2-1: Design a dual-branch structure to explore the target band and its neighboring band g l information; Since there is a continuous spatial-spectral structure between adjacent spectra, the neighborhood band g lThe shallow feature Y0 is obtained through 3D convolution, and then K 3D locks are cascaded to simultaneously explore the spatial and spectral dimensions between adjacent bands, that is:

[0022]

[0023] in represents the kth 3DBlock, Indicates the corresponding output;

[0024] Step 2-2: In each 3DBlock, firstly, parallel 3D convolution is used to extract spatial and spectral features, and then the spatial-spectral consistency information is explored through a separable 3D convolution structure; the target spectrum Shallow features First, it is generated by 2D convolution. Then, this shallow feature is passed through a 2D branch composed of K cascaded 2DBlocks to generate spatial complementary information of the intermediate features. The output of the kth 3DBlock is introduced into the kth 2DBlock; the formula is expressed as:

[0025]

[0026] in, refers to the kth cascaded 2DBlock, is the corresponding output;

[0027] Furthermore, the step 3 is specifically as follows:

[0028] Step 3-1: Combine the two intermediate features They are compressed by average pooling in the spatial dimension and then input into a multi-layer perceptron network to obtain their global descriptors (D l , D l-1 ); After that, the initial global difference descriptor D is learned by performing a subtraction operation, and the formula is as follows:

[0029]

[0030] Among them, CA refers to the channel attention process, which consists of the average pooling operation AvgP and the multi-layer perceptron network MLP; the calculated difference descriptor D contains positive or negative values;

[0031] Using Gaussian function to obtain dependency descriptor Right now:

[0032]

[0033] Among them, |·| represents the absolute value operation;

[0034] Step 3-2: Based on the dependency descriptor The feature layers of the passed intermediate information are divided into two subsets with different complementarity levels, namely:

[0035]

[0036] in, is a subset consisting of the first k feature layers with high dependencies, while the remaining feature layers with low dependencies are divided into another subset Div is the layer division module;

[0037] Processing is performed on the low-dependency LD branch, which consists of a cascade of regular convolutions with a dilation rate of 1; at the same time, Processing is performed on the high-dependency HD branch, which consists of multiple cascaded dilated convolutions with a dilation rate of 3; the outputs of the two branches are concatenated and fused through a 2D convolution operation, i.e.:

[0038]

[0039] Step 3-3: Through a local residual Obtain enhanced intermediate features Right now:

[0040]

[0041] Furthermore, the step 4 is specifically as follows:

[0042] The spatial features from the 2D branch and spatial-spectral characteristics of 3D branches Adaptively fused in the form of dynamic weights w1 and w2; skip connections are configured; the formula is expressed as:

[0043]

[0044] in, is the spatial-spectral fusion result, Refers to the feature fusion process.

[0045] Furthermore, the step 5 is specifically as follows:

[0046] Construct a pixel similarity measurement module to explore more useful information in the received reconstructed features in a pixel-by-pixel manner;

[0047] Step 5-1: The pixel similarity measurement module consists of an initial filter generation network, a Gaussian distribution recalibration module GDRM and an adaptive convolution operation; by converting the spatial-spectral consistency information of the current band As input, the filter generation network obtains a set of initial adaptive filters Corresponding to each position, where c represents the channel size and k is the kernel size of the adaptive filter, this process is formulated as:

[0048]

[0049] in, Refers to the initial filter generation network, which consists of two cascaded 2D convolutions to expand the channel size;

[0050] Step 5-2: The Gaussian distribution recalibration module GDRM is expressed as:

[0051]

[0052] in, Represents the GDRM process, refers to a set of recalibration masks corresponding to each initial filter;

[0053] First, the standard deviation map is predicted through the 2D convolution structure Right now:

[0054]

[0055] Res refers to the residual operation;

[0056] Then, for the spatial position (w i ,h i ) at pixel i, according to the predicted The corresponding element δ i , generate the Gaussian recalibration mask

[0057]

[0058] Among them, δ i Indicates that at position (w i ,h i ) controls the influence of surrounding pixels; D i,j is the Euclidean distance between pixels i and j; Ω i Indicates the surrounding position (w i ,h i )’s k×k adjacent positions;

[0059] To perform the convolution operation, is reshaped into five dimensions (k×k×c×w×h); for the initial filter of each pixel Perform recalibration, recalibrate the mask Reshaped into And is replicated and expanded along the channel dimension:

[0060]

[0061] Among them, R represents c-fold expansion, refers to the final adaptive filter;

[0062] Pixel level filter At a specific spatial position (w i ,h i ) is applied to Above (w i ,h i ) as the center, that is:

[0063]

[0064] Where r = (k-1) / 2, Represents an adaptive convolution operation; It is the complementary reconstruction information with strong complementarity finally generated by the PSM module;

[0065] Furthermore, the step 6 is specifically as follows:

[0066] Fusion of complementary reconstruction information through Concat connection and 2D convolution operation Intermediate spatial-spectral fusion results And shallow spatial features Get the final reconstruction feature

[0067]

[0068] Among them, Cat and Conv represent the Concat connection operation and the 2D convolution operation; finally, through sub-pixel upsampling and residual connection operations, the lth band is obtained Super-resolution reconstruction results

[0069]

[0070] in, Indicates that the sub-pixel upsampling operation is performed. Indicates the target band The bicubic upsampling result of ;

[0071] By super-resolution processing of low-resolution spectral bands band by band, these super-resolution reconstructed bands are merged to obtain the final super-resolution hyperspectral image, denoted as

[0072] The beneficial effects of the present invention are as follows:

[0073] The multi-level metric hyperspectral super-resolution method proposed in the present invention has achieved certain results in the theoretical research of hyperspectral super-resolution. The present invention constructs corresponding metric strategies for multi-level contexts to capture comprehensive and powerful complementary knowledge from the context, which can suppress the introduction of interference information while improving the integrity of the reconstructed information. Overcome the influence of atmospheric scattering, environmental noise, sample scarcity, etc. on the reconstruction accuracy of hyperspectral super-resolution. Provide effective and accurate data guarantee for the implementation of typical local security tasks that require high-precision hyperspectral image information, such as low-altitude UAV cruising, disaster warning and rescue, and target reconnaissance. Compared with other 9 super-resolution methods on five public hyperspectral image data sets (CAVE, Harvard, Foster, Houston, Pavia Centre), the experimental results show that the method of the present invention is effective. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 Schematic diagram of the structure of the multi-level metric hyperspectral super-resolution HMSR method of the present invention;

[0075] Figure 2 It is a structural diagram of the feature similarity measurement FSM module of the present invention;

[0076] Figure 3 It is a structural schematic diagram of the pixel similarity measurement PSM module of the present invention;

[0077] Figure 4 It is the super-resolution reconstruction result when the magnification factor is 4 on the CAVE, Harvard, and Foster datasets of the embodiment of the present invention;

[0078] Figure 5 This is the super-resolution reconstruction result when the magnification factor is 4 on the Houston and Pavia Centre datasets according to an embodiment of the present invention. DETAILED DESCRIPTION

[0079] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0080] The present invention proposes a multi-level metric hyperspectral super-resolution (HMSR) method for on-site security scenarios. Specifically, a feature-wise similarity measurement (FSM) module is designed to calculate the global cross-layer relationship between the intermediate features of the current band and the intermediate features of the context, so as to discriminately explore the embedded intermediate features through the generated global dependencies. In addition, considering the pixel correspondence between the reconstructed features and the super-resolution results, a pixel-wise similarity measurement (PSM) module is proposed for complementary reconstruction feature embedding, and the detailed complementary information within the embedded reconstructed features is explored by dynamically generating a spatial adaptive filter for each pixel. The experimental results on five benchmark hyperspectral datasets show that the proposed method is superior to other representative methods in both qualitative and quantitative evaluation. The method of the present invention can significantly improve the hyperspectral imaging accuracy of natural scenes and complex remote sensing scenes, and alleviate the influence of atmospheric scattering, environmental noise, sample scarcity, etc. on the reconstruction accuracy of hyperspectral super-resolution. It provides effective and accurate data support for the implementation of typical local security tasks that require high-precision hyperspectral image information, such as low-altitude UAV cruising, disaster warning and rescue, and target reconnaissance.

[0081] The contributions of this method are as follows: First, a feature similarity metric (FSM) module is constructed to learn the correlation between the intermediate feature layers of the context and target bands, so that the context feature layers can be adaptively processed through the generated global dependencies. Second, a pixel similarity metric (PSM) module is constructed to explore the complementary knowledge between the detailed context and target band reconstruction feature layers by constructing specific convolution kernels at each pixel to match relevant content with maximum flexibility. Third, HMSR is constructed based on FSM and PSM modules to receive context information comprehensively and discriminatively by constructing different similarity measurement strategies for each level of context.

[0082] The multi-level metric hyperspectral super-resolution method proposed in the present invention has achieved certain results in the theoretical research of hyperspectral super-resolution. The present invention constructs corresponding metric strategies for multi-level contexts to achieve the capture of comprehensive and powerful complementary knowledge from the context, which can suppress the introduction of interference information while improving the integrity of the reconstructed information. Overcome the influence of atmospheric scattering, environmental noise, sample scarcity, etc. on the accuracy of hyperspectral super-resolution reconstruction. Provide effective and accurate data guarantee for the implementation of typical local security tasks that require high-precision hyperspectral image information, such as low-altitude UAV cruising, disaster warning and rescue, and target detection. Therefore, the present invention is beneficial.

[0083] Step 1: Group the hyperspectral image into bands and use them as input.

[0084] Given a low-resolution hyperspectral image A raw high-resolution hyperspectral image The present invention aims to obtain high spectral images with low spatial resolution. Get super-resolution reconstruction result for input Where L is the number of bands, w×h and W×H are the spatial sizes of low spatial resolution and high spatial resolution hyperspectral images respectively. Based on the high similarity between neighboring bands, the input low-resolution hyperspectral image is first The bands are divided into L neighborhood groups, and super-resolution reconstruction is performed band by band in a recursive manner. Taking the reconstruction process of the lth band as an example, the lth input band subgroup is defined as:

[0085]

[0086] in yes For the edge band, that is, and The corresponding groups are generated by edge extension strategy. Assume is the band of the current super-resolution reconstruction, the lth band group g l is fed into HMSR to reconstruct the corresponding super-resolution bands

[0087] Step 2: Construct a dual-branch spatial-spectral information exploration structure to obtain the aggregation result of the intermediate feature layer of the current band and the context

[0088] In order to jointly analyze the spatial and spectral domain information, a dual-branch structure is designed to explore the target bands separately. and its neighboring band g l Since there is a continuous space-spectral structure between adjacent spectra, adjacent groups g lThe shallow feature Y0 is obtained by conventional 3D convolution, and then K 3D locks are cascaded to simultaneously explore the spatial and spectral dimensions between adjacent bands, that is:

[0089]

[0090] in represents the kth 3DBlock, Denotes the corresponding output. In each 3DBlock, parallel 3D convolution is first used to extract spatial and spectral features, and then the spatial-spectral consistency information is explored through a separable 3D convolution structure. In addition, as a spatial restoration task, hyperspectral image super-resolution aims to enhance the spatial resolution while maintaining the spectral structure. Therefore, the target spectrum Shallow features First, it is generated by 2D convolution. Then, this shallow feature is passed through a 2D branch consisting of K cascaded 2DBlocks to generate spatial complementary information of the intermediate features. Taking into account the spatial correlation between adjacent bands, the output of the kth 3DBlock is introduced into the kth 2DBlock to further improve the representation ability of spatial information. The above workflow can be formulated as:

[0091]

[0092] in, refers to the kth cascaded 2DBlock, is the corresponding output.

[0093] Step three, construct a feature similarity measurement FSM module to specifically capture discriminative and strongly complementary content from the contextual intermediate layer information.

[0094] Since hyperspectral images are collected at different wavelengths in the same area, there is a strong global dependency between bands in the spatial domain, especially between adjacent bands. However, the degree of correlation between feature layers in different bands is not consistent. Previous methods usually process the transmitted feature layers simultaneously through the same convolution kernel, failing to capture representative information and resulting in blurred reconstruction details. Based on this, the present invention proposes an FSM module to model the transmitted intermediate information. Intermediate features between the target Global dependencies between Then, according to the dependency descriptor Will The feature layer in is divided into two subsets and sent to their respective branches to explore complementary information more specifically.

[0095] First, in order to effectively represent the inter-layer dependency descriptors of the transfer and target intermediate features, a channel attention operation is performed. Specifically, the two intermediate features They are compressed by average pooling in the spatial dimension and then input into a multi-layer perceptron network to obtain their global descriptors (D l , D l-1 ). After that, the initial global difference descriptor D is learned by performing a subtraction operation, as follows:

[0096]

[0097] Among them, CA refers to the channel attention process, which consists of the average pooling operation AvgP and the multi-layer perceptron network MLP. The calculated difference descriptor D contains positive or negative values, and the absolute difference in the dependency between the two branches is more worthy of attention. Therefore, a Gaussian function is used to obtain a meaningful dependency descriptor Right now:

[0098]

[0099] where |·| represents the absolute value operation. In this way, the stronger the global dependency between two inputs in a given layer, the stronger the corresponding channels are in The larger the value assigned to it.

[0100] The recursive-based method obtains complementary information from the context to reconstruct the missing details of the current band. Generally, feature layers with strong dependencies mean that the overall appearance and details change less compared with the current band. Therefore, each local region can provide fine-scale complementary information. While for layers with low dependencies, the spatial content has changed significantly in details, so from the perspective of consistent semantics, they contain coarse-scale complementary information. Based on the above analysis, we are committed to exploring the embedded intermediate feature layers discriminatively. Specifically, according to the dependency descriptor The feature layers of the passed intermediate information are divided into two subsets with different complementarity levels, namely:

[0101]

[0102] in, is a subset consisting of the first k feature layers with high dependencies, while the remaining feature layers with low dependencies are divided into another subset Div is a layer division module.

[0103] Then, the two subsets are processed on their respective branches, i.e. Processing is performed on the low-dependency (LD) branch, which consists of a cascade of regular convolutions with a dilation rate of 1. Processing is performed on the high dependency (HD) branch, which consists of multiple cascaded dilated convolutions with a dilation rate of 3. The outputs of the two branches are then concatenated and fused via a 2D convolution operation, i.e.:

[0104]

[0105] Finally, through a local residual Obtained enhanced intermediate features It effectively absorbs complementary information from the transferred intermediate features, namely:

[0106]

[0107] Step 4: Dynamically fuse 2D branch space features and 3D branch space-spectral characteristics

[0108] To improve the complementarity of the reconstruction information, the spatial features from the 2D branch are and spatial-spectral characteristics of 3D branches Adaptively fused in the form of dynamic weights (w1 and w2). In addition, skip connections are configured to allow rich low-frequency information to bypass, allowing the network to focus on learning high-frequency details. This process is formulated as:

[0109]

[0110] in, is the spatial-spectral fusion result, Refers to the feature fusion process.

[0111] Step 5: Build a pixel-wise similarity measurement (PSM) module to match the relevant content in the contextual reconstruction features with maximum flexibility.

[0112] In the hyperspectral image super-resolution reconstruction task, the reconstructed features contain significant representative information of the target band and are usually amplified at the end to generate the final super-resolution image. In this process, there is a pixel-by-pixel correspondence between the features and the final super-resolution result, which means that the pixel value of a specific position in the super-resolution image is determined by the neighboring pixels of the corresponding position in the reconstructed features. In addition, previous methods always directly introduce the reconstruction information of the previous unit into the current band to effectively utilize the complementary contextual information. This indiscriminate and non-targeted approach inevitably introduces interference information for each pixel position. Based on these analyses, a pixel similarity measurement module is proposed to explore more useful information in the received reconstructed features in a pixel-by-pixel manner.

[0113] The pixel similarity measurement module consists of an initial filter generation network, a Gaussian distribution recalibration module (GDRM), and an adaptive convolution operation. As input, the filter generation network obtains a set of initial adaptive filters Corresponding to each position, where c represents the channel size and k is the kernel size of the adaptive filter. This process can be formulated as:

[0114]

[0115] in, Refers to the initial filter generation network, which consists of two cascaded 2D convolutions to expand the channel size. In various tasks such as image reconstruction and semantic segmentation, each pixel in the output is affected by the value of the pixels within its receptive field. Previous studies have reported that the contribution level of pixels within the receptive field is not equal, but decays exponentially from the center, following a squared Gaussian distribution. The decay rate is related to the variance of the Gaussian distribution. Therefore, in this work, GDRM is proposed to recalibrate the initial filter by the predicted Gaussian mask The final adaptive filter The influence distribution of gradually approaches the Gaussian distribution and aligns the adaptive convolution operation with the general influence distribution. In addition, by using a learnable variance correction, the receptive field of each pixel position can be dynamically adjusted. The proposed GDRM can be expressed as:

[0116]

[0117] in, is the proposed GDRM, refers to a set of recalibrated masks corresponding to each initial filter. Specifically, the standard deviation map is first predicted by a 2D convolutional structure Right now:

[0118]

[0119] Res refers to the residual operation. Then, for the spatial position (w i ,h i ) at pixel i, according to the predicted The corresponding element δ i , generate the Gaussian recalibration mask

[0120]

[0121] Among them, δ iIndicates that at position (w i ,h i ) controls the influence of surrounding pixels. i,j is the Euclidean distance between pixels i and j. Ω i Indicates the surrounding position (w i ,h i ) of k×k adjacent positions. In theory, in order to perform a convolution operation, is reshaped into five dimensions (k×k×c×w×h). In practice, in order to apply the initial filter to each pixel Perform a recalibration, which recalibrates the mask Reshaped into And is replicated and expanded along the channel dimension:

[0122]

[0123] Among them, R represents c-fold expansion, refers to the final adaptive filter. Next, to perform the convolution operation, is reshaped into five dimensions (k×k×c×w×h). Then, the pixel-level filter At a specific spatial position (w i ,h i ) is applied to Above (w i ,h i ) as the center, that is:

[0124]

[0125] Where r = (k-1) / 2, Represents an adaptive convolution operation. It is the complementary reconstruction information with strong complementarity finally generated by the PSM module.

[0126] Step 6: Fusion of complementary reconstruction information through Concat connection and 2D convolution operation Intermediate spatial-spectral fusion results And shallow spatial features Get the final reconstruction feature

[0127]

[0128] Among them, Cat and Conv represent the Concat connection operation and the 2D convolution operation. Finally, through sub-pixel upsampling and residual connection operations, the lth band is obtained Super-resolution reconstruction results

[0129]

[0130] in, Indicates that the sub-pixel upsampling operation is performed. Indicates the target band The bicubic upsampling result of . By processing the low-resolution spectral bands band by band-by-band super-resolution, these super-resolution reconstructed bands are merged to obtain the final super-resolution hyperspectral image, denoted as

[0131] Example:

[0132] The hyperspectral super-resolution method based on multi-level metrics is experimented on three natural scene datasets (CAVE, Harvard and Foster) and two remote sensing datasets (Houston and Pavia Centre).

[0133] (1) Construction of training and test sets: The CAVE dataset includes 32 hyperspectral images captured by a CCD camera. The spatial resolution of each image is 512×512 pixels, covering wavelengths from 400nm to 700nm, with a step size of 10nm, for a total of 31 bands. The Harvard dataset contains 77 real-world hyperspectral images. Each image consists of 31 spectral bands and is 1392×1040 pixels in size. The Foster dataset is acquired by a low-noise Peltier-cooled digital camera and contains 30 images. These images cover wavelengths from 400nm to 720nm, with a step size of 10nm, for a total of 33 bands, and a spatial resolution of 1344×1024 pixels. For training and testing, 80% of the images in each dataset are randomly selected as training data, and the remaining images are used for testing. Next, 24 patches are selected from each training image as the training set. The PaviaCentre dataset includes 103 spectral bands with a spatial resolution of 1096×715 pixels. The training data is defined as the area above 968×715 pixels, and the rest of the area is used for testing. The spatial resolution of the Houston dataset is 2384×601 pixels, with 48 bands, and the leftmost 1872×601 pixel area is considered as training data, and the rest of the area is used for testing. In both remote sensing datasets, 300 patches are randomly selected from the training area to create the training set.

[0134] In addition, data augmentation techniques were applied to the training set, including scaling (1, 0.75, 0.5), rotation (90°, 180°, 270°), and flipping operations. Through bicubic downsampling, a low-resolution image with a final size of L×32×32 was obtained. Similarly, for the test images, the corresponding low-resolution versions were obtained by using the bicubic operation.

[0135] (2) Experimental settings: In this work, the convolution kernel size is set to 3 and the number of filters is specified as 64. The Adam optimizer is used for algorithm optimization, and the parameters are set to β1 = 0.9 and β2 = 0.999. The initial learning rate is set to 0.0001 and decays tenfold every 30 cycles. The number of training cycles is set to 200.

[0136] (3) Evaluation indicators: In order to quantitatively evaluate the reconstruction performance, three widely used indicators are used: peak signal-to-noise ratio (PSNR), spectral angle mapping (SAM), and structural similarity (SSIM). PSNR and SSIM indicators are used to evaluate the reconstruction performance in the spatial domain, and higher values ​​indicate better performance. SAM is used to measure the spectral reconstruction performance, and smaller values ​​indicate stronger spectral recovery ability.

[0137] (4) Comparative test: Comparative experiments were conducted on five public hyperspectral image datasets (CAVE, Harvard, Foster, Houston, and Pavia Centre) with representative methods. The experimental results on the CAVE, Harvard, and Foster datasets are shown in Table 1, and the experimental results on the Houston and Pavia Centre datasets are shown in Table 2. In summary, the experimental results on the public hyperspectral image datasets show that the method proposed in the present invention has higher reconstruction accuracy.

[0138] Table 1 Comparative experiments with representative methods on CAVE, Harvard, and Foster datasets when the magnification factor is 4

[0139]

[0140] Table 2 Comparison experiments with representative methods on Houston and Pavia Centre datasets when the magnification factor is 4

[0141]

[0142]

Claims

1. A multi-level metric hyperspectral super-resolution method for local security scenarios, characterized in that: The steps include: Step 1: Group the bands of the hyperspectral image as input; Step 2: Construct a dual-branch spatial-spectral information exploration structure to obtain the aggregation results of the intermediate feature layer of the current band and the context Step 3: Construct a feature similarity measurement FSM module to capture discriminative and strong complementary content from the contextual intermediate layer information; Construct FSM modules to model the intermediate information passed Intermediate features between the target Global dependencies between Then, according to the dependency descriptor Will The feature layer in is divided into two subsets and sent to their respective branches to explore complementary information more specifically; Step 4: Dynamically fuse 2D branch space features and 3D branch space-spectral characteristics Step 5: Construct a pixel similarity measurement PSM module to match the correlation content in the context reconstruction feature; Step 6: Obtain super-resolution reconstruction results 2. According to claim 1, a multi-level metric hyperspectral super-resolution method for local security scenarios is characterized in that: The step 1 is specifically as follows: Given a low-resolution hyperspectral image A raw high-resolution hyperspectral image Where L is the number of bands, w×h and W×H are the spatial sizes of low spatial resolution and high spatial resolution hyperspectral images respectively; based on the high similarity between neighboring bands, the input low-resolution hyperspectral image is first The bands are divided into L neighborhood groups, and super-resolution reconstruction is performed band by band in a recursive manner; The lth input band subgroup is defined as: in yes The lth band of For the edge band, and The corresponding grouping is generated by the edge extension strategy; assuming is the band of the current super-resolution reconstruction, the lth band group g l is fed into HMSR to reconstruct the corresponding super-resolution bands 3. The multi-level metric hyperspectral super-resolution method for local security scenarios according to claim 2 is characterized in that: The step 2 is specifically as follows: Step 2-1: Design a dual-branch structure to explore the target band and its neighboring band g l information; Since there is a continuous spatial-spectral structure between adjacent spectra, the neighborhood band g l The shallow feature Y0 is obtained through 3D convolution, and then K 3D locks are cascaded to simultaneously explore the spatial and spectral dimensions between adjacent bands, that is: in represents the kth 3DBlock, Indicates the corresponding output; Step 2-2: In each 3DBlock, firstly, parallel 3D convolution is used to extract spatial and spectral features, and then the spatial-spectral consistency information is explored through a separable 3D convolution structure; the target spectrum Shallow features First, it is generated by 2D convolution. Then, this shallow feature is passed through a 2D branch composed of K cascaded 2DBlocks to generate spatial complementary information of the intermediate features. The output of the kth 3DBlock is introduced into the kth 2DBlock; the formula is expressed as: in, refers to the kth cascaded 2DBlock, is the corresponding output.

4. The multi-level metric hyperspectral super-resolution method for local security scenarios according to claim 3 is characterized in that: The step 3 is specifically as follows: Step 3-1: Combine the two intermediate features They are compressed by average pooling in the spatial dimension and then input into a multi-layer perceptron network to obtain their global descriptors (D l , D l-1 ); After that, the initial global difference descriptor D is learned by performing a subtraction operation, and the formula is as follows: Among them, CA refers to the channel attention process, which consists of the average pooling operation AvgP and the multi-layer perceptron network MLP; the calculated difference descriptor D contains positive or negative values; Using Gaussian function to obtain dependency descriptor Right now: Among them, |·| represents the absolute value operation; Step 3-2: Based on the dependency descriptor The feature layers of the passed intermediate information are divided into two subsets with different complementarity levels, namely: in, is a subset consisting of the first k feature layers with high dependencies, while the remaining feature layers with low dependencies are divided into another subset Div is the layer division module; Processing is performed on the low-dependency LD branch, which consists of a cascade of regular convolutions with a dilation rate of 1; at the same time, Processing is performed on the high-dependency HD branch, which consists of multiple cascaded dilated convolutions with a dilation rate of 3; the outputs of the two branches are concatenated and fused through a 2D convolution operation, i.e.: Step 3-3: Through a local residual Obtain enhanced intermediate features Right now:

5. The multi-level metric hyperspectral super-resolution method for local security scenarios according to claim 4 is characterized in that: The step 4 is specifically as follows: The spatial features from the 2D branch and spatial-spectral characteristics of 3D branches Adaptively fused in the form of dynamic weights w1 and w2; skip connections are configured; the formula is expressed as: in, is the spatial-spectral fusion result, Refers to the feature fusion process.

6. The multi-level metric hyperspectral super-resolution method for local security scenarios according to claim 5 is characterized in that: The step 5 is specifically as follows: Construct a pixel similarity measurement module to explore more useful information in the received reconstructed features in a pixel-by-pixel manner; Step 5-1: The pixel similarity measurement module consists of an initial filter generation network, a Gaussian distribution recalibration module GDRM and an adaptive convolution operation; By taking the spatial-spectral consistency information of the current band As input, the filter generation network obtains a set of initial adaptive filters Corresponding to each position, where c represents the channel size and k is the kernel size of the adaptive filter, this process is formulated as: in, Refers to the initial filter generation network, which consists of two cascaded 2D convolutions to expand the channel size; Step 5-2: The Gaussian distribution recalibration module GDRM is expressed as: in, Represents the GDRM process, refers to a set of recalibration masks corresponding to each initial filter; First, the standard deviation map is predicted through the 2D convolution structure Right now: Res refers to the residual operation; Then, for the spatial position (w i ,h i ) at pixel i, according to the predicted The corresponding element δ i , generate the Gaussian recalibration mask Among them, δ i Indicates that at position (w i ,h i ) controls the influence of surrounding pixels; D i,j is the Euclidean distance between pixels i and j; Ω i Indicates the surrounding position (w i ,h i )’s k×k adjacent positions; To perform the convolution operation, is reshaped into five dimensions (k×k×c×w×h); for the initial filter of each pixel Perform recalibration, recalibrate the mask Reshaped into And is replicated and expanded along the channel dimension: Among them, R represents c-fold expansion, refers to the final adaptive filter; Pixel level filter At a specific spatial position (w i ,h i ) is applied to Above (w i ,h i ) as the center, that is: Where r = (k-1) / 2, Represents an adaptive convolution operation; It is the complementary reconstruction information with strong complementarity finally generated by the PSM module.

7. The multi-level metric hyperspectral super-resolution method for local security scenarios according to claim 6 is characterized in that: The step 6 is specifically as follows: Fusion of complementary reconstruction information through Concat connection and 2D convolution operation Intermediate spatial-spectral fusion results And shallow spatial features Get the final reconstruction feature Among them, Cat and Conv represent the Concat connection operation and the 2D convolution operation; finally, through sub-pixel upsampling and residual connection operations, the lth band is obtained Super-resolution reconstruction results in, Indicates that the sub-pixel upsampling operation is performed. Indicates the target band The bicubic upsampling result of ; By super-resolution processing of low-resolution spectral bands band by band, these super-resolution reconstructed bands are merged to obtain the final super-resolution hyperspectral image, denoted as