Multi-data-source remote sensing image space-spectrum fusion method, device, equipment and medium
Through the multi-data source remote sensing image spatial spectrum fusion method, the multi-data source remote sensing image spatial spectrum fusion network is used for training, which solves the problems of spatial deformation and spectral distortion in remote sensing image spatial spectrum fusion, and improves the image quality and the universality of the model. , achieving precise interactive fusion of spatial and spectral features.
Patent Information
- Application Number
- CN202410875959.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-02
AI Technical Summary
Existing remote sensing image space-spectrum fusion technology has problems with spatial deformation and spectral distortion. The training data comes from a single source. The process is cumbersome and can easily cause the loss of spatial information in panchromatic images. It is difficult to achieve a balance between spectral quality and spatial quality.
The multi-data source remote sensing image spatial spectrum fusion method is used to obtain panchromatic and multispectral images of different specifications through multiple sensor groups, and the multi-data source remote sensing image spatial spectrum fusion network is used for training. The network includes multiple dual-stream fusions connected hierarchically. layer to perform encoding, information interactive fusion and decoding, combined with gradient guidance and self-supervised loss functions to ensure interactive fusion of spatial and spectral features.
It improves the quality of satellite images, enhances the usability and reliability of the model, solves the problem of difficult balance between spatial and spectral quality, and improves the accuracy of feature expression and reconstruction.
Smart Images

Figure CN118735798A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite remote sensing technology, and in particular to a method, device, equipment and medium for spatial-spectral fusion of remote sensing images from multiple data sources. Background Art
[0002] At present, remote sensing image space-spectrum fusion technology covers two mainstreams: traditional methods and deep learning methods. Traditional fusion methods include component replacement method, multi-resolution analysis method and variational optimization method, which mainly realize the information fusion of PAN and MS images through algorithms such as IHS and PCA. These methods have limitations in the nonlinear characterization ability of complex landform types. However, most of the traditional methods are linear models, which are difficult to effectively fit the fusion process between the two images, and are prone to spatial deformation and spectral distortion. The general supervised deep learning method lacks ideal fusion results as reference labels. The production process of simulated reference labels is cumbersome and easy to cause the loss of spatial information of full-color images. In addition, the scale difference between simulated data and real data is ignored in the fusion process, and there is often a certain degree of information distortion. It is also difficult to achieve a good balance between the spectral quality and spatial quality of the fusion results. At the same time, the training and testing models are usually limited to data of a single specific sensor type, such as only using GF-2 data for training and testing. The data of this method is relatively single, and the trained network model is difficult to be universal. Summary of the invention
[0003] The present invention provides a method, device, equipment and medium for spatial-spectral fusion of remote sensing images from multiple data sources, which are used to solve the problems in related technologies that spatial deformation and spectral distortion are prone to occur, the training data source is single, the process steps are cumbersome and it is easy to cause the loss of spatial information of the full-color image, there is a certain degree of information distortion, and it is difficult to achieve a good balance in the spectral quality and spatial quality of the fusion result.
[0004] The present invention provides a method for spatial-spectral fusion of remote sensing images from multiple data sources, comprising the following steps.
[0005] Obtaining the original image for image spatial-spectral fusion; Input the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; Among them, the spatial-spectral fusion of remote sensing images from multiple data sources is trained by the following method: Acquire multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications through multiple sensor groups; Multiple groups of PANs and multiple groups of MSs are input into the initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network.
[0006] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, a multi-data source remote sensing image spatial-spectral fusion network includes a plurality of dual-stream fusion layers connected in sequence, and multiple groups of PANs and multiple groups of MSs are input into an initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain a multi-data source remote sensing image spatial-spectral fusion network, including: Upsampling the multiple groups of MSs to obtain multiple groups of upsampled MSs; Multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs are sequentially input into multiple dual-stream fusion layers for encoding, information interaction fusion and decoding; The multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs, as well as the multiple groups of target PANs and multiple groups of target MSs obtained after decoding are input into the next dual-stream fusion layer until a multi-data source remote sensing image spatial-spectral fusion network is obtained.
[0007] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, each dual-stream fusion layer includes a first encoding module, a first decoding module, a U-shaped multi-channel splicing module, an information interaction fusion module, and a second decoding module, and multiple groups of PANs, multiple groups of MSs, and multiple groups of upsampled MSs are sequentially input into multiple dual-stream fusion layers for encoding, information interaction fusion, and decoding, including: In each dual-stream fusion layer, multiple groups of PANs are input into a first encoding module for encoding to obtain first feature information; Inputting the multiple groups of MSs and the multiple groups of upsampled MSs into a U-shaped multi-channel splicing module for encoding to obtain second feature information; The first feature information and the second feature information are interactively fused in an information interaction fusion module to obtain third feature information; Decoding the multiple groups of PANs and the first characteristic information in a first decoding module to obtain a target PAN; The third characteristic information is decoded in the second decoding module to obtain the target MS.
[0008] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, first feature information and second feature information are interactively fused in an information interactive fusion module to obtain third feature information, including: The third feature information is obtained by interactively fusing the first feature information and the second feature information through the following formula: ; ; ; ; in, and Respectively expressed in The first feature information and the second feature information extracted from the two-stream fusion layer, S represents the Sigmoid function, represents element-wise multiplication, Indicates The third feature information obtained from the two-stream fusion layer.
[0009] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, after obtaining multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications through multiple sensor groups, the method further includes: Gradient guidance of multiple sets of PANs.
[0010] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, gradient guidance is performed on multiple groups of PANs, including: The Laplace operator is used to guide the gradient of multiple groups of PANs through the following formula: ; ; ; in, Indicates PAN.
[0011] According to a multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, a multi-data source remote sensing image spatial-spectral fusion network is obtained by training through self-supervision based on a target loss function, the target loss function is constructed based on a spatial metric function and a spectral metric function, the spatial metric function is used to evaluate the difference between a first residual probability distribution and a second residual probability distribution, the first residual probability distribution is determined based on multiple groups of PAN and target fusion images, and the second residual probability distribution is determined based on multiple groups of MS and grayscale images corresponding to the multi-spectral image MS; The spectral metric function is used to evaluate the spectral angle differences between multiple groups of MS and the target fusion image.
[0012] The present invention also provides a multi-data source remote sensing image space-spectrum fusion device, comprising the following modules: An acquisition module, used for acquiring an original image for image spatial-spectral fusion; A fusion module is used to input the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; A training module, used for acquiring multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications through multiple sensor groups; The training module is also used to input multiple groups of PANs and multiple groups of MSs into the multi-data source remote sensing image spatial-spectral fusion network to obtain the multi-data source remote sensing image spatial-spectral fusion network output.
[0013] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the multi-data source remote sensing image spatial-spectral fusion network includes a plurality of dual-stream fusion layers connected in sequence, and the training module is specifically used for: Upsampling the multiple groups of MSs to obtain multiple groups of upsampled MSs; Multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs are sequentially input into multiple dual-stream fusion layers for encoding, information interaction fusion and decoding; The multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs, as well as the multiple groups of target PANs and multiple groups of target MSs obtained after decoding are input into the next dual-stream fusion layer until a multi-data source remote sensing image spatial-spectral fusion network is obtained.
[0014] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, each dual-stream fusion layer includes a first encoding module, a first decoding module, a U-shaped multi-channel splicing module, an information interaction fusion module, and a second decoding module, and the training module is specifically used for: In each dual-stream fusion layer, multiple groups of PANs are input into a first encoding module for encoding to obtain first feature information; Inputting the multiple groups of MSs and the multiple groups of upsampled MSs into a U-shaped multi-channel splicing module for encoding to obtain second feature information; The first feature information and the second feature information are interactively fused in an information interaction fusion module to obtain third feature information; Decoding the multiple groups of PANs and the first characteristic information in a first decoding module to obtain a target PAN; The third characteristic information is decoded in the second decoding module to obtain the target MS.
[0015] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module is specifically used for: The third feature information is obtained by interactively fusing the first feature information and the second feature information through the following formula: ; ; ; ; in, and Respectively expressed in The first feature information and the second feature information extracted from the two-stream fusion layer, S represents the Sigmoid function, represents element-wise multiplication, Indicates The third feature information obtained from the two-stream fusion layer.
[0016] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module is also used for: Gradient guidance of multiple sets of PANs.
[0017] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module is specifically used for: The Laplace operator is used to guide the gradient of multiple groups of PANs through the following formula: ; ; ; in, Indicates PAN.
[0018] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, in a training module, a multi-data source remote sensing image spatial-spectral fusion network is obtained by self-supervisory training based on a target loss function, the target loss function is constructed based on a spatial metric function and a spectral metric function, the spatial metric function is used to evaluate the difference between a first residual probability distribution and a second residual probability distribution, the first residual probability distribution is determined based on multiple groups of PAN and target fusion images, and the second residual probability distribution is determined based on multiple groups of MS and grayscale images corresponding to the multi-spectral image MS; The spectral metric function is used to evaluate the spectral angle differences between multiple groups of MS and the target fusion image.
[0019] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any of the above-mentioned methods for spatial-spectral fusion of remote sensing images from multiple data sources is implemented.
[0020] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-mentioned methods for spatial-spectral fusion of remote sensing images from multiple data sources.
[0021] The present invention also provides a computer program product, including a computer program, which implements any of the above-mentioned methods for spatial-spectral fusion of remote sensing images from multiple data sources when executed by a processor.
[0022] The multi-data source remote sensing image space-spectrum fusion method provided by the present invention first obtains the original image for image space-spectrum fusion, and then inputs the original image into the multi-data source remote sensing image space-spectrum fusion network to obtain the fused image, wherein the training process of the multi-data source remote sensing image space-spectrum fusion network is as follows: first, multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications are obtained through multiple sensor groups, and then the multiple groups of PAN and the multiple groups of MS are input into the initial multi-data source remote sensing image space-spectrum fusion network to obtain the multi-data source remote sensing image space-spectrum fusion network. Using the method provided by the embodiment of the present invention, according to the characteristics of the original image, the trained multi-data source remote sensing image space-spectrum fusion network can be used to interactively fuse the spatial features and spectral features, so as to express and reconstruct the features more accurately and more targetedly, and improve the quality of the satellite image output by the multi-data source remote sensing image space-spectrum fusion network. At the same time, by using multiple groups of data from different sensors to train the network, the richness of the samples of the training network is increased, thereby improving the availability and reliability in practical applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 It is a schematic flow chart of the spatial-spectral fusion method of remote sensing images from multiple data sources provided by the present invention.
[0025] Figure 2 It is a flow chart of the spatial-spectral fusion network training method for remote sensing images from multiple data sources provided by the present invention.
[0026] Figure 3 It is a schematic diagram of the operator structure and calculation principle provided by the present invention.
[0027] Figure 4 It is a schematic diagram of the structure of the multi-data source remote sensing image space-spectrum fusion network provided by the present invention.
[0028] Figure 5 It is a structural schematic diagram of a U-shaped multi-channel splicing module provided by the present invention.
[0029] Figure 6 It is a schematic diagram of the principle of the pixel reorganization upsampling process provided by the present invention.
[0030] Figure 7 Schematic diagram of the structure of the efficient channel attention module provided by the present invention.
[0031] Figure 8 It is a structural schematic diagram of the information interaction fusion module provided by the present invention.
[0032] Fig. 9 It is a schematic diagram of the construction principle of the target loss function provided by the present invention.
[0033] Fig.10 It is a structural schematic diagram of the multi-data source remote sensing image spatial-spectral fusion device provided by the present invention.
[0034] Fig.11 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] At present, the spatial-spectral fusion technology of remote sensing images is mainly divided into traditional fusion methods and deep learning fusion methods. Traditional fusion methods are mainly divided into component replacement method, multi-resolution analysis method and variational optimization method. Among them, CS and MRA methods usually consist of two parts: one is to extract spatial details from PAN images, and the other is to inject the extracted information into the upsampled MS image. Intensity-Hue-Saturation (IHS) and principal component analysis (PCA) methods are the original CS algorithms. Adaptive GS (GSA) realizes the fusion of PAN and MS information through a combination of guided filters and Schmidt (Gram-Schmidt, GS) transform. After that, by modeling the pixel values of each channel of PAN and MS, a partial replacement adaptive CS (PRACS) was proposed. However, most of the traditional methods are linear models, which are difficult to effectively fit the fusion process between the two images, and are prone to spatial deformation and spectral distortion. However, the general supervised deep learning method lacks the ideal fusion result as a reference label, and needs to produce a simulated data set according to the Wald protocol. The process is cumbersome and easily causes the loss of spatial information of the full-color image. In addition, the scale difference between the simulated data and the real data is ignored during the fusion process, and there is often a certain degree of information distortion. In addition, the general single-stream network does not fully consider the information characteristics of MS and PAN and directly splices them, so that the spectral features and spatial features are mixed together for learning. The two-stream network lacks the interaction of spatial and spectral features, and the feature extraction method is relatively simple. These are not conducive to feature extraction and reconstruction, and it is difficult to achieve a good balance in the spectral quality and spatial quality of the fusion results. At the same time, in the current field of spatial-spectral fusion, the training and testing models are usually limited to data of a single specific sensor type, such as only using GF-2 data for training and testing. The data of this method is relatively simple, and the trained network model is difficult to be universal.
[0037] Therefore, there is an urgent need for a spatial-spectral fusion method of remote sensing images from multiple data sources to solve the above problems.
[0038] Combine the following Figure 1-Figure 11 The invention describes the spatial-spectral fusion method, device, equipment and medium of remote sensing images from multiple data sources.
[0039] Figure 1 FIG. 1 is one of the flow charts of the multi-data source remote sensing image spatial-spectral fusion method provided by the present invention, such as Figure 1 As shown, the method includes the following: Step 101: Obtain an original image for image spatial-spectral fusion.
[0040] During specific implementation, an original image to be fused is obtained. Generally speaking, the original image includes a PAN band image and n MS band images.
[0041] Step 102: Input the original image into a multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image.
[0042] In specific implementation, the original image is input into the trained model, and the output fusion result is an n-band fused image.
[0043] Using the multi-data source remote sensing image spatial-spectral fusion method provided by the embodiment of the present invention,
[0044] Figure 2 FIG. 1 is one of the flow charts of the multi-data source remote sensing image spatial-spectral fusion training method provided by the present invention. Figure 2 As shown, the method includes the following: Step 201: Acquire multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications through multiple sensor groups.
[0045] In specific implementation, by obtaining PAN and MS from multiple sensors, it is aimed to train a high-quality and highly robust multi-data source remote sensing image space-spectrum fusion network, thereby obtaining high-quality satellite images. Specifically, the basis for selection is that the image data should cover different geographical areas, different seasons and different climatic conditions as much as possible. Compared with using one type of satellite data, it can effectively increase the amount of information. Since each type of satellite data provides the characteristics of land object changes in different geographical ranges, different perspectives and different times, more comprehensive and rich information can be obtained, which helps to improve the performance of the model. It can also reduce the risk of overfitting. When only a single data is used, the model may rely too much on the specific features of the data, resulting in overfitting. Using multiple data for training together can reduce this risk, because the model needs to consider multiple features and data distributions at the same time. At the same time, it can also enhance robustness. Multiple data combinations can help the model better cope with data noise, because different data sources may be affected by different types of interference or noise. Combining multiple data can improve the robustness and anti-interference of the model.
[0046] In one example, a high-resolution sensor group is used to obtain raw PAN and MS, such as GaoFen-1 (GF-1), GaoFen-1B (GF-1B), GaoFen-1C (GF-1C), GaoFen-1D (GF-1D) and GaoFen-6 (GF-6) satellites to obtain multiple groups of panchromatic images PAN and multiple groups of multispectral images MS. When used specifically, the satellite data of GF-1, GF-1B, GF-1C, GF-1D and GF-6 can be mixed together in a ratio of 1:1:1:1:1 to train the fusion model, or other ratios can be used for training, which is not limited in the embodiment of the present invention. By using data from different satellites for training, the richness of samples can be increased, so that the model can better understand and process image features of different satellites. As a result, the trained network model will be able to more effectively improve the quality of GaoFen satellite images through fusion technology, and improve its availability and reliability in practical applications.
[0047] In this step, the original PAN can also be gradient-guided and the MS can be upsampled. Specifically, the gradient information of the original PAN is extracted by high-pass filtering, and this gradient information is added to the network training as prior knowledge, thereby guiding the learning direction of the network in the feature space. When processing spectral information, the original MS retains the integrity of the spectral data and provides more detailed information. The upsampled MS image can obtain larger-scale spectral information by increasing the resolution of the image. Therefore, in this step, the MS is upsampled to obtain larger-scale spectral information while retaining the detailed information.
[0048] Regarding gradient guidance, since high-pass filtering is achieved by convolving the original image with a specific high-pass filter kernel, this operation can effectively extract the high-frequency spatial information of the image. This high-pass filter kernel is usually called an operator, and commonly used high-pass filter operators include the Laplace operator, the Sobel operator, and the Prewitt detection operator. These three operators can effectively enhance the high-frequency information in the image, thereby highlighting the edge details of the image, and play an important role in tasks such as image spatial feature extraction, edge detection, and image enhancement.
[0049] Since the Laplace operator can fully extract the high-frequency spatial details of the image. Therefore, the embodiment of the present disclosure preferentially uses the Laplace operator to perform gradient filtering on the original PAN image to obtain the gradient map of the original image, and uses it as a priori condition to enhance the network's ability to extract spatial information. Of course, other forms of operators can also be selected for gradient filtering, which is not limited in the embodiment of the present disclosure. The operator structure and calculation process used are as follows: Figure 3 As shown in the figure, the center of the Laplace operator is negative and is surrounded by 1 and 0. It is a linear operator. It highlights the high-frequency changes in the image by performing second-order differentials in the horizontal and vertical directions of the image, thereby enhancing the edge information in the image. Assuming that the image to be filtered is, its expression is: ; ; .
[0050] Such a filter kernel can highlight the edges and details in the image because the convolution operation produces a larger response value when the pixel values in the image change rapidly. During the filtering process, the Laplace high-pass filter suppresses the low-frequency part of the image and emphasizes the high-frequency part. As a result, the details and edges of the image will be clearer and more prominent, while reducing the intensity of the smooth area in the image.
[0051] By extracting prior gradient information from the PAN image using Laplace high-pass filtering, the network can be effectively guided to focus on the spatial high-frequency details of the image, thereby improving the network's perception of image edges and details, and helping to produce clearer and more accurate fusion results. Secondly, guided by the prior gradient information, the network can more accurately learn the spatial features in the image, so that the network can better retain and strengthen the structural information of the image during the fusion process, and improve the spatial extraction ability. In addition, the prior gradient information extracted using Laplace high-pass filtering can be used as an additional constraint to help the network learn the correlation between images more stably, and improve the generalization and robustness of the network. Therefore, the gradient guidance strategy can effectively improve network performance and spatial extraction capabilities, thereby producing higher quality fusion results.
[0052] Step 202: Input multiple groups of PANs and multiple groups of MSs into a multi-data source remote sensing image spatial-spectral fusion network to obtain a multi-data source remote sensing image spatial-spectral fusion network.
[0053] In specific implementation, multiple groups of PANs and multiple groups of MSs are input into the following Figure 4In the multi-data source remote sensing image spatial-spectral fusion network shown, the multi-data source remote sensing image spatial-spectral fusion network includes a plurality of dual-stream fusion layers connected in sequence, each dual-stream fusion layer includes a first encoding module, a first decoding module, a U-shaped multi-channel stitching module, an information interaction fusion module, and a second decoding module. The U-shaped multi-channel stitching module can take the original MS and the upsampled MS as input together, integrate the spectral information of different scale resolutions, and complete the channel stitching, thereby fully retaining the spectral information of the input MS image. When upsampling, it can be 4 times upsampling or 8 times upsampling. The specific magnification can be set according to demand, and the embodiment of the present invention does not limit this. In addition, the same-level feature transmission through jump connections helps to reduce the loss of information during network transmission and ensure that the network better retains and utilizes important spectral information in the fusion task. The structure of the U-shaped multi-channel stitching module is shown in FIG. Figure 5 As shown in Figure 1, a pixel shuffle operation is used to upsample the low-scale spectral features to the same size as the high-resolution features by rearranging pixels. The upsampling process of pixel shuffle is as follows: Figure 6 As shown in the figure, taking the upsampling ratio of 4 as an example, pixel reorganization achieves upsampling by rearranging pixel values. Compared with the traditional interpolation method, it has higher computational efficiency, so that the feature upsampling operation can be performed faster in the U-shaped multi-channel stitching module. In addition, pixel reorganization has no additional parameters in the upsampling process, so it will not introduce additional information loss or deformation, nor will it increase the complexity and computational burden of the network. It can effectively retain the information in the low-resolution feature map and rearrange it into a high-resolution feature map to avoid information loss.
[0054] For the U-shaped multi-channel stitching module, the embodiment of the present disclosure abandons the pooling operation that may cause scale differences and information loss, and instead adopts an upsampling operation to construct a unique U-shaped network, retaining multi-scale features. Through the combination of multi-scale information, it helps to improve the network's perception of spectral features and fusion quality.
[0055] In addition, the channel attention mechanism is conducive to learning the dependency between bands and can fully retain the spectral information of the MS image during the fusion process. In order to further optimize the attention mechanism, the efficient channel attention module (ECA) is introduced. Its structural diagram is shown in the figure. Figure 7As shown in the figure, the efficient channel attention module obtains the aggregated features of each channel through global average pooling, and then uses fast one-dimensional convolution to calculate k feature points near each channel feature point, and regenerates the channel weights to capture local cross-channel interaction information. While ensuring the network calculation efficiency, this module helps to improve the distinction and correlation between channel features through the redistribution of weights, thereby reducing the spectral distortion of the fusion result. In the U-shaped multi-channel splicing module, the spectral features obtained by splicing at different levels are re-aggregated using the ECA module to enhance the compactness between features.
[0056] For the information interaction fusion module, the structure is as follows Figure 8 As shown in the figure, this module is more conducive to adaptively selecting the features of panchromatic images and multispectral images for fusion, and plays a better interactive fusion role. In order to focus on more important information, this module first reconstructs the input spatial features and spectral features, and its expression is: ; ; ; in and Respectively represent The features of PAN and MS extracted from the layer network, S represents the Sigmoid function, Represents element multiplication operation. By introducing the attention mechanism, it is possible to automatically learn the relationship between input features and dynamically adjust the weights according to the importance, thereby increasing the network's attention to important information. This mechanism helps solve the problems of information imbalance and information redundancy. Secondly, a 1×1 convolution kernel is used in this module. While keeping the size of the feature map unchanged, the depth of the feature map can be adjusted, thereby increasing the nonlinear expression ability of the network. Compared with ordinary 3×3 convolution, it can effectively reduce the number of parameters, while reducing the computational complexity, and accelerating the network training and feature transfer process. Finally, this module interactively fuses the two reconstructed features to enhance the fusion effect of the network. Its expression is: .
[0057] in, Indicates The fusion information obtained by the information interaction fusion module is then sent to the feature restoration module for reconstruction of the fusion result. The information interaction fusion module combines multiple technologies such as attention mechanism and low-parameter convolution, which can well extract and fuse the features of PAN images and MS images, thereby improving the effect and performance of spatial-spectral fusion.
[0058] In this embodiment, the multi-data source remote sensing image spatial-spectral fusion network is obtained by self-supervised training based on a target loss function, and the target loss function is constructed based on a spatial metric function and a spectral metric function. The spatial metric function is used to evaluate the difference between a first residual probability distribution and a second residual probability distribution. The first residual probability distribution is determined based on multiple groups of PAN and target fused images, and the second residual probability distribution is determined based on multiple groups of MS and grayscale images corresponding to the multispectral image MS; the spectral metric function is used to evaluate the spectral angle difference between multiple groups of MS and the target fused image, such as Fig. 9 As shown in the figure, up-MS represents the upsampled MS image, and stack represents copying the PAN image along the channel dimension to ensure that the size is consistent with the fusion result. The constraint effect and implementation method of the function are introduced below.
[0059] SAM is a spectral evaluation index function that can be used to represent the spectral angle difference between HRMS and MS and measure the spectral loss between the two. It can be expressed by the following formula: ; Among them, the SAM value calculated in the formula is the spectral angle of a single pixel point in the image, <·,·> is the vector inner product symbol, ||·|| 2 Indicates l 2 norm, arccos(·) represents the inverse cosine function, z 1 ∈R 1×1×c 、z 2 ∈R 1×1×c Represents the spectral vector at the specified pixel coordinates. KL divergence is an indicator function used to calculate the similarity. The closer the two probability distributions are, the smaller the KL divergence is. It can be expressed by the following formula: ; Among them, p(x) is the probability distribution function of the real information, and q(x) is the probability distribution function of the fitted information. By calculating the information entropy of the probability distribution of the two, the difference of information can be measured in a quantitative way. Spectral measurement function (or spectral loss function): The upsampled MS and the original MS can be considered to contain the same spectral features, and the spectral features are mapped to the vector direction between the image bands. Therefore, by minimizing the SAM value between the HRMS and the upsampled MS, the spectral loss of the network can be controlled. The spectral loss function can be expressed by the following formula: ; Where SAM(·) represents the spectral angle mapping function, M↑ represents the image obtained by upsampling the multispectral image MS, Represents the target fusion image. Spatial metric function (or spatial loss function): Different from the process of establishing spectral constraints, it is impossible to directly establish the connection between the predicted result HRMS and the original PAN image. The spatial loss can be established on the basis of three conventions: (1) PAN image can be obtained by degrading MS image under the same spatial resolution; (2) the degraded grayscale image contains the spatial texture information of the source image; (3) the difference between MS image and PAN image under different spatial resolutions should have similar distribution. MS is degraded into grayscale image, and the residual probability distribution map between MS image and grayscale image is established by using softmax function, and the residual probability distribution between HRMS and PAN is fitted by this, and then the KL divergence value of the two is minimized to achieve the purpose of constraining spatial loss, thereby realizing unsupervised training without manually annotated data for training.
[0060] The multi-data source remote sensing image spatial-spectral fusion device provided by the present invention is described below. The multi-data source remote sensing image spatial-spectral fusion device described below and the multi-data source remote sensing image spatial-spectral fusion method described above can be referenced to each other.
[0061] By using the method provided by the embodiment of the present disclosure, a self-supervised fusion framework is constructed, and the original image to be fused itself is used as a label. The training of the model is based on real data that does not require any downscaling preprocessing, thereby bridging the gap between simulated data and real data, and ensuring that the fusion result is more consistent with the actual scene. In terms of spatial flow, the present invention specifically introduces gradient guidance, which captures gradient information to provide the network with prior knowledge of spatial information, thereby accurately guiding the optimization direction of the network. In the spectral flow, a U-shaped multi-channel stitching module is proposed, which inputs the original multi-spectral and upsampled multi-spectral images into the network together, thereby more comprehensively processing spectral information of different scales. After that, by designing an interactive fusion module with an attention mechanism, the network can adaptively fuse spatial and spectral information.
[0062] In terms of data acquisition, a joint training and testing dataset containing multiple satellite data was constructed, which can provide strong data support for the training of deep learning models with its rich feature information, effectively improving the fusion performance of the model in various scenarios. Training with multiple different satellite data enriches the types of training samples, helps to explore the fusion potential of deep learning methods, and avoids the problem of network overfitting caused by a single data type; it alleviates the defect of insufficient universal performance of current deep learning methods and can achieve the effect of "training once, applicable in many places".
[0063] like Fig.10 As shown, the multi-data source remote sensing image spatial-spectral fusion device provided by the present invention includes the following modules: An acquisition module 1001 is used to acquire an original image for image space-spectrum fusion; Fusion module 1002, used for inputting the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; A training module 1003 is used to obtain multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications through multiple sensor groups; The training module 1003 is also used to input multiple groups of PANs and multiple groups of MSs into the multi-data source remote sensing image spatial-spectral fusion network to obtain the multi-data source remote sensing image spatial-spectral fusion network.
[0064] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the multi-data source remote sensing image spatial-spectral fusion network includes a plurality of dual-stream fusion layers connected in sequence, and the training module 1003 is specifically used for: Upsampling the multiple groups of MSs to obtain multiple groups of upsampled MSs; Multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs are sequentially input into multiple dual-stream fusion layers for encoding, information interaction fusion and decoding; The multiple groups of PANs, multiple groups of MSs and multiple groups of upsampled MSs, as well as the multiple groups of target PANs and multiple groups of target MSs obtained after decoding are input into the next dual-stream fusion layer until the multi-data source remote sensing image spatial-spectral fusion network.
[0065] According to a multi-data source remote sensing image space-spectrum fusion device provided by the present invention, each dual-stream fusion layer includes a first encoding module, a first decoding module, a U-shaped multi-channel splicing module, an information interaction fusion module, and a second decoding module, and the training module 1003 is specifically used for: In each dual-stream fusion layer, multiple groups of PANs are input into a first encoding module for encoding to obtain first feature information; Inputting the multiple groups of MSs and the multiple groups of upsampled MSs into a U-shaped multi-channel splicing module for encoding to obtain second feature information; The first feature information and the second feature information are interactively fused in an information interaction fusion module to obtain third feature information; Decoding the multiple groups of PANs and the first characteristic information in a first decoding module to obtain a target PAN; The third characteristic information is decoded in the second decoding module to obtain the target MS.
[0066] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module 1003 is specifically used for: The third feature information is obtained by interactively fusing the first feature information and the second feature information through the following formula: ; ; ; ; in, and Respectively expressed in The first feature information and the second feature information extracted from the two-stream fusion layer, S represents the Sigmoid function, represents element-wise multiplication, Indicates The third feature information obtained from the two-stream fusion layer.
[0067] According to the multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module 1003 is also used for: Gradient guidance of multiple sets of PANs.
[0068] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, the training module 1003 is specifically used for: The Laplace operator is used to guide the gradient of multiple groups of PANs through the following formula: ; ; ; in, Indicates PAN.
[0069] According to a multi-data source remote sensing image spatial-spectral fusion device provided by the present invention, in a training module 1003, a multi-data source remote sensing image spatial-spectral fusion network is obtained by self-supervisory training based on a target loss function, the target loss function is constructed based on a spatial metric function and a spectral metric function, the spatial metric function is used to evaluate the difference between a first residual probability distribution and a second residual probability distribution, the first residual probability distribution is determined based on multiple groups of PAN and target fusion images, and the second residual probability distribution is determined based on multiple groups of MS and grayscale images corresponding to the multi-spectral image MS; The spectral metric function is used to evaluate the spectral angle differences between multiple groups of MS and the target fusion image.
[0070] Fig.11 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.11As shown, the electronic device may include: a processor 1110, a communication interface 1120, a memory 1130 and a communication bus 1140, wherein the processor 1110, the communication interface 1120 and the memory 1130 communicate with each other through the communication bus 1140. The processor 1110 may call the logic instructions in the memory 1130 to execute the spatial-spectral fusion method of remote sensing images from multiple data sources, and the method includes: Obtaining the original image for image spatial-spectral fusion; Input the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; Among them, the spatial-spectral fusion of remote sensing images from multiple data sources is trained by the following method: Acquire multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications through multiple sensor groups; Multiple groups of PANs and multiple groups of MSs are input into the initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network.
[0071] In addition, the logic instructions in the above-mentioned memory 1130 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0072] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the multi-data source remote sensing image spatial-spectral fusion method provided by the above methods, the method includes: Obtaining the original image for image spatial-spectral fusion; Input the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; Among them, the spatial-spectral fusion of remote sensing images from multiple data sources is trained by the following method: Acquire multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications through multiple sensor groups; Multiple groups of PANs and multiple groups of MSs are input into the initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network.
[0073] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the multi-data source remote sensing image spatial-spectral fusion method provided by the above methods, the method comprising: Obtaining the original image for image spatial-spectral fusion; Input the original image into the multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; Among them, the spatial-spectral fusion of remote sensing images from multiple data sources is trained by the following method: Acquire multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications through multiple sensor groups; Multiple groups of PANs and multiple groups of MSs are input into the initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network.
[0074] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for spatial-spectral fusion of remote sensing images from multiple data sources, characterized in that: The method comprises: Obtaining the original image for image spatial-spectral fusion; Inputting the original image into a multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; The spatial-spectral fusion of remote sensing images from multiple data sources is trained by the following method: Acquire multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications through multiple sensor groups; The multiple groups of PANs and the multiple groups of MSs are input into an initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network.
2. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to claim 1, characterized in that: The multi-data source remote sensing image spatial-spectral fusion network includes a plurality of dual-stream fusion layers connected in sequence in layers, and the plurality of groups of PANs and the plurality of groups of MSs are input into the initial multi-data source remote sensing image spatial-spectral fusion network for training to obtain the multi-data source remote sensing image spatial-spectral fusion network, including: Upsampling the multiple groups of MSs to obtain multiple groups of upsampled MSs; Inputting the multiple groups of PANs, the multiple groups of MSs and the multiple groups of upsampled MSs into the multiple dual-stream fusion layers in sequence for encoding, information interaction fusion and decoding; The multiple groups of PANs, the multiple groups of MSs and the multiple groups of upsampled MSs, as well as the multiple groups of target PANs and multiple groups of target MSs obtained after decoding are input into the next dual-stream fusion layer until the multi-data source remote sensing image spatial-spectral fusion network is obtained.
3. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to claim 2 is characterized in that: Each of the dual-stream fusion layers includes a first encoding module, a first decoding module, a U-shaped multi-channel splicing module, an information interaction fusion module, and a second decoding module, and the multiple groups of PANs, the multiple groups of MSs, and the multiple groups of upsampled MSs are sequentially input into multiple dual-stream fusion layers for encoding, information interaction fusion, and decoding, including: In each dual-stream fusion layer, the multiple groups of PANs are input into the first encoding module for encoding to obtain first feature information; Inputting the multiple groups of MSs and the multiple groups of upsampled MSs into the U-shaped multi-channel splicing module for encoding to obtain second feature information; Interactively fusing the first feature information and the second feature information in the information interactive fusion module to obtain third feature information; Decoding the multiple groups of PANs and the first feature information in the first decoding module to obtain a target PAN; The third characteristic information is decoded in the second decoding module to obtain the target MS.
4. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to claim 3 is characterized in that: The performing information interaction and fusion of the first feature information and the second feature information in the information interaction and fusion module to obtain third feature information includes: The first feature information and the second feature information are interactively integrated by the following formula to obtain the third feature information: ; ; ; ; in, and Respectively expressed in The first feature information and the second feature information extracted from the two-stream fusion layer, S represents the Sigmoid function, represents element-wise multiplication, Indicates The third feature information obtained from the two-stream fusion layer.
5. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to any one of claims 1 to 4, characterized in that: After acquiring multiple groups of panchromatic images PAN and multiple groups of multispectral images MS of different specifications by using multiple sensor groups, the method further includes: The plurality of PANs are gradient guided.
6. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to claim 5 is characterized in that: The step of performing gradient guidance on the plurality of groups of PANs comprises: The Laplace operator is used to perform gradient guidance on the multiple groups of PANs through the following formula: ; ; ; in, Represents the PAN.
7. The method for spatial-spectral fusion of remote sensing images from multiple data sources according to claim 6, characterized in that: The multi-data source remote sensing image space-spectrum fusion network is obtained by self-supervised training based on a target loss function, the target loss function is constructed based on a spatial metric function and a spectral metric function, the spatial metric function is used to evaluate the difference between a first residual probability distribution and a second residual probability distribution, the first residual probability distribution is determined based on the multiple groups of PANs and the target fused image, and the second residual probability distribution is determined based on the multiple groups of MSs and the grayscale image corresponding to the multi-spectral image MS; The spectral metric function is used to evaluate the spectral angle difference between the multiple groups of MSs and the target fused image.
8. A spatial-spectral fusion device for remote sensing images from multiple data sources, characterized in that: include: An acquisition module, used for acquiring an original image for image spatial-spectral fusion; A fusion module, used for inputting the original image into a multi-data source remote sensing image spatial-spectral fusion network to obtain a fused image; A training module, used for acquiring multiple groups of panchromatic images PAN of different specifications and multiple groups of multispectral images MS of different specifications through multiple sensor groups; The training module is also used to input the multiple groups of PANs and the multiple groups of MSs into a multi-data source remote sensing image spatial-spectral fusion network to obtain the multi-data source remote sensing image spatial-spectral fusion network.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the spatial-spectral fusion method of remote sensing images from multiple data sources as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for spatial-spectral fusion of remote sensing images from multiple data sources as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Semi-supervised multispectral and panchromatic remote sensing image fusion method and system
CN111340743A
Optical remote sensing spatial spectrum fusion method, device and equipment without reference image and medium
CN114581347A
Remote sensing image fusion method based on large kernel attention mechanism for multi-scale feature enhancement
CN114936995A
Remote sensing image fusion method and device, electronic equipment and storage medium
CN115456925A
Ship level identification technology based on high-resolution optical satellite remote sensing image under condition of few samples
CN115471759A
Cited By
Image fusion method and device based on joint loss, equipment, medium and product
CN121481858A
Double-flow space-spectrum fusion method and device, electronic equipment and storage medium
CN121482545A
