Super-resolution processing method of remote sensing image and related equipment
By using the integration of shallow and deep features in remote sensing image super-resolution processing, combined with CNN and Mamba branch structures, the problem of insufficient reconstruction quality caused by the complex structure and noise of remote sensing images is solved, and higher-quality super-resolution is achieved. Effect.
Patent Information
- Application Number
- CN202410846684.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-11
AI Technical Summary
When existing remote sensing image super-resolution technology processes remote sensing images with complex structures, size differences and noise, the reconstruction quality is insufficient, resulting in poor application results.
The target super-resolution model is adopted, including shallow extraction structure, dual-branch extraction structure and high-quality reconstruction structure. Image reconstruction is performed through the integration of shallow and deep features. The combination of CNN and Mamba branch structure is used to reduce model limitations and improve Reconstruction quality.
By capturing features at different levels, the super-resolution reconstruction quality of remote sensing images is improved and higher-quality result images are output, which is better than the performance indicators of traditional models.
Smart Images

Figure CN118761907A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer vision technology, and in particular to a remote sensing image super-resolution processing method and related equipment. Background Art
[0002] High-resolution (HR) remote sensing images are crucial in urban planning and management, agricultural resource optimization, biodiversity conservation, climate change research, environmental monitoring, etc. Image super-resolution (SR) technology converts relatively low-resolution (LR) images into high-resolution HR images through advanced algorithms, thus providing a low-cost and effective way to obtain HR images.
[0003] In recent years, single image super-resolution (SISR) has become a hot research area. SR technology offers advantages such as cost-effectiveness and high efficiency. However, ground objects in remote sensing images have complex structures, considerable size differences, significant noise, and high locality. These factors hinder the application of SISR in remote sensing.
[0004] Therefore, how to improve the super-resolution reconstruction quality of remote sensing images is an urgent problem to be solved. Summary of the invention
[0005] In order to improve the super-resolution reconstruction quality of remote sensing images, embodiments of the present application provide a remote sensing image super-resolution processing method and device, electronic equipment, computer-readable storage medium, and computer program product.
[0006] In the first aspect, in order to solve the above technical problems, the present application provides a remote sensing image super-resolution processing method, comprising:
[0007] A training data set is prepared, and a target super-resolution model is constructed based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure;
[0008] Acquire a low-resolution image to be processed, and input the image to be processed into the target super-resolution model;
[0009] Extracting features of the image to be processed by the shallow extraction structure to obtain shallow features of the image to be processed;
[0010] Extracting the shallow features through the dual-branch extraction structure to obtain deep features of the image to be processed;
[0011] Through the high-quality reconstruction structure, data of the image to be processed is reconstructed based on the shallow features and the deep features to obtain a corresponding super-resolution result image.
[0012] The beneficial effects are:
[0013] In the technical solution provided in the embodiments of the present application, the shallow extraction structure and the dual-branch extraction structure in the constructed target super-resolution model are used to respectively obtain the shallow features and deep features of the image to be processed, and are integrated and reconstructed in the high-quality reconstruction structure. By capturing features at different levels, the limitations of the target super-resolution model are reduced, the reconstruction quality is improved, and the model outputs a better quality super-resolution result image.
[0014] In a second aspect, the present invention provides a remote sensing image super-resolution processing device, comprising a model unit, a data unit, a first extraction unit, a second extraction unit and a reconstruction unit;
[0015] A model unit, used to prepare a training data set, and construct a target super-resolution model based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure;
[0016] A data unit, used for acquiring a low-resolution image to be processed, and inputting the image to be processed into the target super-resolution model;
[0017] A first extraction unit, configured to extract features of the image to be processed by using the shallow extraction structure to obtain shallow features of the image to be processed;
[0018] A second extraction unit, configured to extract the shallow features through the dual-branch extraction structure to obtain deep features of the image to be processed;
[0019] A reconstruction unit is used to reconstruct data of the image to be processed based on the shallow features and the deep features through the high-quality reconstruction structure to obtain a corresponding super-resolution result image.
[0020] In a third aspect, the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the super-resolution processing method of remote sensing images as described above.
[0021] In a fourth aspect, the present application also provides a computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, enables the computer to execute the super-resolution processing method of remote sensing images as described above.
[0022] In a fifth aspect, the present application further provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the remote sensing image super-resolution processing method provided in the above-mentioned various optional embodiments.
[0023] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0025] Figure 1 is a flowchart of a super-resolution processing method for remote sensing images shown in an exemplary embodiment of the present application;
[0026] Figure 2 is a schematic diagram of the structure of a target super-resolution model in an exemplary embodiment of the present application;
[0027] Figure 3 is a schematic diagram of the structure of a CNN branch in an exemplary embodiment of the present application;
[0028] Figure 4 is a schematic diagram of the structure of the Mamba branch in an exemplary embodiment of the present application;
[0029] Figure 5 is a schematic diagram of the structure of a feature fusion module (FFM) in an exemplary embodiment of the present application;
[0030] Figure 6 is a schematic diagram of an example image in the RSSRD-KQ dataset;
[0031] Figure 7 It is a schematic diagram comparing the super-resolution result image corresponding to the target super-resolution model provided in this application when the RSSRD-KQ remote sensing dataset is applied and the output results of other traditional models;
[0032] Figure 8 is a block diagram of a remote sensing image super-resolution processing device shown in an exemplary embodiment of the present application;
[0033] Fig. 9It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0034] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0035] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0036] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0037] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0038] Among the related technologies, high-resolution (HR) remote sensing images are crucial in urban planning and management, agricultural resource optimization, biodiversity conservation, climate change research, and environmental monitoring. For example, in environmental monitoring, HR images can detect changes in land cover, vegetation health, and water resources, which helps to assess ecological trends and environmental protection work. However, due to technical and cost limitations, high-resolution remote sensing images are often difficult to obtain. Image super-resolution (SR) technology converts relatively low-resolution (LR) images into high-resolution HR images through advanced algorithms, thus providing a low-cost and effective way to obtain HR images.
[0039] In recent years, single image super-resolution (SISR) has become a hot research area. SR technology offers advantages such as cost-effectiveness and high efficiency, attracting extensive academic attention, especially deep learning-based methods, which have made significant progress in reconstructing image details and clarity. Deep learning-based SR methods basically rely on training a large number of LR / HR image pairs to establish a mapping model. In addition, the performance of SR networks can be improved by introducing techniques such as residual connections, dense connections, generative adversarial networks, and attention mechanisms. However, ground objects in remote sensing images have complex structures, considerable size differences, significant noise, and high locality, which hinder the application of SISR in remote sensing.
[0040] Typical SR methods based on convolutional neural network (CNN) include SRCNN, RRDBNet, RCAN and EDSR.
[0041] SRCNN is the first CNN-based image super-resolution method that learns an end-to-end nonlinear mapping from LR to HR images through a three-layer convolutional network. Due to the superior efficiency of convolutional parallel operations, it is very suitable for deployment on resource-constrained devices. However, CNN-based SISR methods face inherent difficulties in modeling long-range dependencies, and they have limitations in capturing global contextual information due to their restricted receptive fields. These challenges have brought significant obstacles to super-resolution reconstruction of remote sensing images (RSISR).
[0042] As Transformer-based deep learning models have achieved state-of-the-art performance in various computer vision applications, they have demonstrated their efficient ability to capture global context information by utilizing the self-attention mechanism, and Transformer-based SR methods have also made great progress. Although Transformer has a global receptive field, it exhibits quadratic complexity when processing input sequences, which brings challenges when dealing with common large-scale image restoration tasks.
[0043] SwinIR is a SOTA method for SISR tasks based on the swin transformer. Compared with pure convolutional structures and ViT-based architectures, it performs well on public datasets such as DIV2K and DF2K. However, some studies have shown that the performance of a single Transformer may not be able to surpass CNN because image blocks are squeezed into a one-dimensional sequence and structural information may be lost. On the other hand, the use of some efficient attention techniques, such as the window shift attention mechanism, usually comes at the expense of the global effective receptive field, and there is essentially no escape from the trade-off between the global receptive field and efficient computation.
[0044] Moreover, the ground objects in remote sensing images have complex structures, considerable size differences, significant noise and high locality. The application of the above traditional methods has easily hindered the application of SISR in remote sensing and affected the image quality of the super-resolution results of remote sensing images.
[0045] In order to solve the above problems, the embodiments of the present application propose a super-resolution processing method and device for remote sensing images, an electronic device, and a computer-readable storage medium, which mainly involve the super-resolution technology of remote sensing images included in computer vision technology. These embodiments will be described in detail below.
[0046] First see Figure 1 , Figure 1 This is a flowchart of a super-resolution processing method for remote sensing images shown in an exemplary embodiment of the present application. The method can be specifically executed by a server, which can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms, etc., and is not limited here.
[0047] like Figure 1 As shown, in an exemplary embodiment, the remote sensing image super-resolution processing method may include steps S101 to S105, which are described in detail as follows:
[0048] Step S101, preparing a training data set, and constructing a target super-resolution model based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure.
[0049] When constructing a preset target super-resolution model, this embodiment first produces a training data set as required, and trains an initial super-resolution model based on the training data set. The initial super-resolution model is pre-constructed with a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure, thereby obtaining a target super-resolution model for remote sensing image super-resolution processing.
[0050] Step S102, obtaining a low-resolution image to be processed, and inputting the image to be processed into a target super-resolution model.
[0051] Step S103, extracting features of the image to be processed through a shallow extraction structure to obtain shallow features of the image to be processed.
[0052] The low-resolution image to be processed is used as the model input and input into the target super-resolution model to perform super-resolution processing on the image to be processed, so that the super-resolution remote sensing image can be put into specific applications.
[0053] The shallow extraction structure in the target super-resolution model is used to perform shallow feature extraction operations on the image to be processed, so that the shallow features of the image to be processed are output after the image to be processed is input into the shallow extraction structure.
[0054] Step S104, extracting shallow features through a dual-branch extraction structure to obtain deep features of the image to be processed.
[0055] In the target super-resolution model, there is a data connection between the shallow extraction structure and the dual-branch extraction structure, that is, the shallow features output by the shallow extraction structure are used as the input of the dual-branch extraction structure, so as to perform deep feature extraction on the shallow features through the dual-branch extraction structure to obtain the deep features of the image to be processed.
[0056] Step S105 , reconstructing the image to be processed based on shallow features and deep features through a high-quality reconstruction structure to obtain a corresponding super-resolution result image.
[0057] There are data connections between the high-quality reconstruction structure and the shallow extraction structure and the dual-branch extraction structure respectively. The shallow features and deep features output by the shallow extraction structure and the dual-branch extraction structure are both inputs of the high-quality reconstruction structure. The high-quality reconstruction structure reconstructs the data of the processed image through the shallow features and the deep features to obtain the corresponding super-resolution result image.
[0058] From the above, it can be seen that in the method provided in this embodiment, the shallow extraction structure and the dual-branch extraction structure in the constructed target super-resolution model are used to obtain the shallow features and deep features of the image to be processed respectively, and are integrated and reconstructed in the high-quality reconstruction structure. The captured features at different levels reduce the limitations of the target super-resolution model, improve the reconstruction quality, and enable it to output a better quality super-resolution result image.
[0059] In an exemplary embodiment provided by the present application, the shallow layer extraction structure is composed of a 3×3 convolutional layer, and the convolutional layer is used to extract shallow layer features. The specific steps may include:
[0060] Input the low-resolution image to be processed into the convolution layer of the shallow extraction structure;
[0061] The feature processing of the image to be processed is performed through the convolution layer to obtain the shallow features of the image to be processed.
[0062] In this embodiment, the 3×3 convolutional layer performs feature processing on the image to be processed to obtain shallow features of the image to be processed. Specifically, for the low-resolution input image (LR), that is, the image to be processed I LQ ∈R H×W×3 , using the shallow extraction structure to extract the shallow feature F S ∈R H×W×C , where H and W represent the height and width of the image to be processed, respectively, and C represents the number of channels.
[0063] In an exemplary embodiment provided by the present application, the dual-branch extraction structure includes a parallel CNN branch and a Mamba branch, and the CNN branch and the Mamba branch are used to extract deep features in parallel from shallow features. The specific steps may include:
[0064] The CNN branch extracts deep features from shallow features to obtain the first feature;
[0065] The shallow features are extracted through the Mamba branch to obtain the second feature;
[0066] A deep feature of the image to be processed is obtained based on the first feature and the second feature.
[0067] Typical SR methods based on convolutional neural networks (CNNs) include SRCNN, RRDBNet, RCAN, and EDSR. There is a high locality problem when extracting features through traditional methods; Mamba, as a state-space model, is an efficient and effective backbone for building deep networks. The discrete state-space equations in Mamba can be formalized as recursive forms, and when equipped with specially designed structured reparameterization, very long dependencies can be modeled, which means that the Mamba-based repair network can naturally activate more pixels, thereby improving the quality of reconstruction. In addition, the parallel scanning algorithm enables Mamba to process each token in parallel, thereby achieving efficient training on modern hardware (such as GPUs).
[0068] Therefore, in this embodiment, while using the CNN branch to extract deep features from shallow features to obtain the first feature, the Mamba model is used as another branch Mamba branch to run in parallel with the CNN branch to extract the second feature, so that the branch extraction structure can obtain the deep features of the image to be processed based on the first feature and the second feature.
[0069] In another exemplary embodiment, the dual-branch extraction structure further includes a feature fusion module (FFM, Feature Fusion Module), which uses the feature fusion module to obtain deep features of the image to be processed based on the first feature and the second feature, and the specific steps may include:
[0070] The feature fusion module is used to perform feature fusion processing on the first feature and the second feature to obtain the deep features of the image to be processed.
[0071] It can be seen from the above embodiments that CNN and Mamba are effectively fused in this way, so that the target super-resolution model becomes a hybrid model using a dual-branch structure of CNN and Mamba, which can well utilize the advantages of CNN and Mamba at the same time, and use the feature fusion module to fuse the local details of CNN and the global context information of Mamba, thereby reducing the limitations of the target super-resolution model.
[0072] In addition, since the target super-resolution model applies convolution and Mamba in the feature extraction process, the target super-resolution model can be named ConvMambaSR model.
[0073] In an exemplary embodiment provided by the present application, the specific steps of obtaining a super-resolution result image by high-quality reconstruction structure may include:
[0074] Using high-quality reconstruction structure, shallow features and deep features are fused through global residual connection processing to obtain fused features;
[0075] The fused features are upsampled to obtain a super-resolution result image corresponding to the image to be processed, so as to complete the data reconstruction of the image to be processed.
[0076] In this embodiment, in the stage of high-quality reconstruction of the high-quality reconstruction structure, a global residual connection is used to fuse shallow features and deep features to obtain fused features, and finally upsampling is performed to obtain a super-resolution result image.
[0077] In another exemplary embodiment, the SR process of the ConvMambaSR model can be expressed by a mathematical formula:
[0078]
[0079] I SR =Up(F R )
[0080] Among them, Up(·) represents the upsampling function, G(·) represents the feature fusion operation, and F S represents shallow features, F Dc Indicates the first feature of the deep feature corresponding to the CNN branch, F Dm The second feature of the deep feature corresponding to the Mamba branch, I SR Represents the super-resolution result image.
[0081] See also Figure 2 , Figure 2is a schematic diagram of the structure of a target super-resolution model in an exemplary embodiment of the present application. Figure 2 As shown, the target super-resolution model includes a shallow feature extraction structure (Shallow Feature Extraction), a dual-branch extraction structure and a high-quality reconstruction structure (HQ Image Reconstruction). The dual-branch extraction structure includes a feature fusion module (FFM), a CNN branch and a Mamba branch. The structure of the CNN branch includes multiple residual convolution groups (RCGs), and the structure of the Mamba branch includes multiple residual state space groups (RSSGs).
[0082] Each FFM in the dual-branch extraction structure is a group with the corresponding RSSG and RCG. In the stage of deep feature extraction of the dual-branch extraction structure, the input of the first group is the shallow features output by the shallow extraction structure. RCG and RSSG respectively extract features from the shallow features to obtain the first feature and the second feature, and use the second feature as the input of RSSG in the next group. FFM fuses the first feature and the second feature of RSSG and RCG, and uses it as the input of RCG in the next group. This is repeated until the last group completes feature extraction. The output of the FFM of the last group is the deep feature of the image to be processed obtained by the dual-branch extraction structure.
[0083] like Figure 3 As shown, Figure 3 is a schematic diagram of the structure of a CNN branch in an exemplary embodiment of the present application, Figure 3 In the figure, the structure of the CNN branch includes multiple residual convolution groups (RCGs), RCGs are composed of a series of RCBs (Residual Convolution Blocks), and RCBs are composed of a convolution layer Conv and an activation function LRelu (leaky relu).
[0084] like Figure 4 As shown, Figure 4 is a schematic diagram of the structure of the Mamba branch in an exemplary embodiment of the present application, Figure 4 In the paper, the structure of the Mamba branch includes multiple residual state space groups (RSSG), RSSG consists of a series of RSSBs (residual state space modules), RSSB consists of a normalization module LayerNorm, a visual state space module VSSM and a channel attention block CAB.
[0085] like Figure 5 As shown, Figure 5 is a structural diagram of a feature fusion module (FFM) in an exemplary embodiment of the present application, Figure 5In , FFM is connected with RCG and RSSG from the same group, which consists of energy-based 3D attention SimAM and multi-scale spatial attention MSSA.
[0086] In another exemplary embodiment, the number of RSSG, FFM and RCG in the ConvMambaSR model can be configured to be 4, 12 residual units are used in RCG, the parameter setting of RSSB in RSSG is consistent with MambaIR, including six VSSB modules, and the SSM state expansion factor is 16.
[0087] In an exemplary embodiment provided by the present application, the specific steps of training to obtain a target super-resolution model may include:
[0088] Acquire high-resolution images;
[0089] Preprocessing the high-resolution image to obtain a corresponding low-resolution image, and forming an image pair based on the high-resolution image and the corresponding low-resolution image;
[0090] A training data set is formed based on a preset number of image pairs, and a model is trained based on the training data set to obtain a target super-resolution model.
[0091] In this embodiment, the preprocessing performed on the high-resolution image is a degradation operation, such as bicubic interpolation or a degradation method using multiple mixed degradation operations in a random order.
[0092] High-resolution images can be various remote sensing image datasets that meet the training requirements, such as the RSSCN7 public dataset and the RSSRD-KQ dataset. Among them, the RSSCN7 public dataset is a public remote sensing dataset containing 2,800 remote sensing scene images from seven typical scene categories, namely grassland, farmland, industrial area, river and lake, forest, residential area and parking lot, with 400 images in each category. These images are from Google Earth and sampled at four different scales, with 100 images at each scale. The size of each image is 400×400 pixels. The RSSRD-KQ dataset is a self-produced experimental remote sensing dataset obtained by drone photography. The geographical location of the shooting is located in the Sanjiangyuan area of Qinghai Province, China, at 33°44'36" to 33°44'42" north latitude and 98°59'30" to 98°59'38" east longitude, with a total area of 72,542 square meters and a shooting flight altitude of 30m. Figure 6 As shown, Figure 6 is a schematic diagram of an example image in the RSSRD-KQ dataset.
[0093] When the RSSCN7 public dataset and the RSSRD-KQ dataset are used as the data sources of the training dataset, the remote sensing images, i.e., high-resolution images, in the dataset are first obtained, and the corresponding low-resolution images are obtained according to the respective suitable preprocessing methods, thereby obtaining image pairs including high-resolution images and low-resolution images, wherein the low-resolution images are used as training inputs and the high-resolution images are used as reference values.
[0094] The low-resolution (LR) images of RSSCN7 are obtained by bicubic interpolation. This dataset is divided into two equal parts, one for training, with a total of 1400 images, and the other for testing, of which 20% of the training set is used as a validation set. The low-resolution (LR) images of RSSRD-KQ are obtained by the degradation method of blind super-resolution task. The specific degradation method is to perform a series of degradation operations in random order, including motion blur, Gaussian blur, random downsampling (nearest neighbor interpolation, bilinear interpolation, bicubic interpolation), simple image scaling, adding color, grayscale or mixed Gaussian noise, probabilistic addition of JPEG compression noise, and finally adding the final JPEG compression noise processing and random cropping. In this dataset, 90% of the 3162 images are randomly selected as training set images, 10% as validation set images, and another 672 images are taken outside the area as test sets, totaling 3834 images, each image size is 480×480 pixels.
[0095] In order to improve the training efficiency, the model training parameters need to be set before training. The RSSCN7 dataset uses randomly cropped LR images of size 48×48 pixels as input, and the corresponding HR size is 192×192 pixels. The model in the RSSRD-KQ dataset uses randomly cropped LR images of size 64×64 pixels as input, and the corresponding HR size is 192×192 pixels. During the training process, the batch size of the data for a single training is set to 16, and the HR / LR image pairs are randomly rotated for data enhancement. The number of training rounds using the Adam optimizer can be 200 epochs.
[0096] In addition, the loss function of the target super-resolution model can be an L1 loss function, and the calculation formula is as follows:
[0097] The target super-resolution model ConvMambaSR model is constructed in this way. The Peak signal-to-noise ratio (PSNR), structural similarity index (SSIM), root mean square error (RMSE), spectral angle mapper (SAM) and relative global dimensionless global error (ERGAS) obtained by model analysis can be used as evaluation indicators for quality comparison with other traditional models.
[0098] The specific calculation formula can be:
[0099]
[0100] Among them, μ x and σ x They represent the mean and variance of x, σ xy represents the covariance between x and y, c1 and c2 are constants. h and l represent the spatial resolution of the super-resolution image and the original image respectively, and N is the number of bands.
[0101] For example, the RSSCN7 public dataset and the RSSRD-KQ dataset are used as the input of each traditional SR model and the target super-resolution model ConvMambaSR, and the above-mentioned evaluation indicators are analyzed. The evaluation indicator data are shown in the following table.
[0102]
[0103]
[0104] Higher PSNR and SSIM values indicate better model quality, while lower RMSE, SAM and ERGAS values indicate better reconstruction quality. From the data in the above table, it can be seen that the reconstruction quality of the target super-resolution model ConvMambaSR provided in this application is better than that of various traditional SR models.
[0105] In addition, if Figure 7 As shown, Figure 7 It is a schematic diagram comparing the super-resolution result image corresponding to the target super-resolution model provided in this application when the RSSRD-KQ remote sensing dataset is applied and the output results of other traditional models.
[0106] Figure 8 FIG. 8 is a block diagram of a remote sensing image super-resolution processing device 800 shown in an exemplary embodiment of the present application. Figure 8As shown, the device comprises:
[0107] A model unit 801 is used to prepare a training data set, and construct a target super-resolution model based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure;
[0108] The data unit 802 is used to obtain a low-resolution image to be processed and input the image to be processed into a target super-resolution model;
[0109] The first extraction unit 803 is used to extract features of the image to be processed through a shallow extraction structure to obtain shallow features of the image to be processed;
[0110] The second extraction unit 804 is used to extract shallow features through a dual-branch extraction structure to obtain deep features of the image to be processed;
[0111] The reconstruction unit 805 is used to reconstruct data of the image to be processed based on shallow features and deep features through a high-quality reconstruction structure to obtain a corresponding super-resolution result image.
[0112] The device applies the super-resolution processing method for remote sensing images provided in the present application. After the target super-resolution model is constructed by the model unit 801, the low-resolution image to be processed is obtained by using the data unit 802 and the image is input into the target super-resolution model, so that the first extraction unit 803 and the second extraction unit 804 can respectively obtain the shallow features and deep features of the image to be processed by using the shallow extraction structure and the double-branch extraction structure in the target super-resolution model, and integrate and reconstruct the shallow features and deep features of the image to be processed in the high-quality reconstruction structure by the reconstruction unit 805, so as to effectively integrate local details and global context information, reduce the limitations of the target super-resolution model, improve the reconstruction quality, and output a better-quality super-resolution result image.
[0113] In another exemplary embodiment, the first extraction unit 803 is further used to input the low-resolution image to be processed into the convolution layer of the shallow extraction structure; perform feature processing on the image to be processed through the convolution layer to obtain shallow features of the image to be processed.
[0114] In another exemplary embodiment, the dual-branch extraction structure includes a parallel CNN branch and a Mamba branch; the second extraction unit 804 is further used to perform deep feature extraction on the shallow feature through the CNN branch to obtain the first feature; and perform deep feature extraction on the shallow feature through the Mamba branch to obtain the second feature;
[0115] A deep feature of the image to be processed is obtained based on the first feature and the second feature.
[0116] In another exemplary embodiment, the dual-branch extraction structure further includes a feature fusion module; the second extraction unit 804 is further used to use the feature fusion module to perform feature fusion processing on the first feature and the second feature to obtain deep features of the image to be processed.
[0117] In another exemplary embodiment, the reconstruction unit 805 is also used to utilize the high-quality reconstruction structure to fuse shallow features and deep features through global residual connection processing to obtain fused features; upsample the fused features to obtain a super-resolution result image corresponding to the image to be processed, so as to complete the data reconstruction of the image to be processed.
[0118] In another exemplary embodiment, the model unit 801 is also used to acquire a high-resolution image; pre-process the high-resolution image to obtain a corresponding low-resolution image, and form an image pair based on the high-resolution image and the corresponding low-resolution image; form a training data set based on a preset number of image pairs, and perform model training based on the training data set to obtain a target super-resolution model.
[0119] In another exemplary embodiment, the apparatus further comprises:
[0120] The loss function unit provides the L1 loss function applied to the target super-resolution model. The calculation formula is as follows:
[0121]
[0122] It should be noted that the super-resolution processing device for remote sensing images provided in the above embodiment and the super-resolution processing method for remote sensing images provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the super-resolution processing device for remote sensing images provided in the above embodiment can allocate the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0123] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the super-resolution processing method of remote sensing images provided in the above-mentioned embodiments.
[0124] Fig. 9 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig. 9The computer system 900 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0125] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 902 or the program loaded from the storage part 908 to the random access memory (RAM) 903, such as executing the method in the above embodiment. In the RAM 903, various programs and data required for system operation are also stored. The CPU 901, ROM 902 and RAM 903 are connected to each other through a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0126] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.
[0127] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 909, and / or installed from a removable medium 911. When the computer program is executed by a central processing unit (CPU) 901, various functions defined in the system of the present application are executed.
[0128] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the above-mentioned module, a program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0131] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the super-resolution processing method of remote sensing images as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0132] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the remote sensing image super-resolution processing method provided in each of the above embodiments.
[0133] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A super-resolution processing method for remote sensing images, characterized in that: The method comprises: A training data set is prepared, and a target super-resolution model is constructed based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure; Acquire a low-resolution image to be processed, and input the image to be processed into the target super-resolution model; Extracting features of the image to be processed by the shallow extraction structure to obtain shallow features of the image to be processed; Extracting the shallow features through the dual-branch extraction structure to obtain deep features of the image to be processed; Through the high-quality reconstruction structure, data of the image to be processed is reconstructed based on the shallow features and the deep features to obtain a corresponding super-resolution result image.
2. The method according to claim 1, characterized in that The extracting the features of the image to be processed by the shallow extraction structure to obtain the shallow features of the image to be processed includes: Inputting the low-resolution image to be processed into the convolution layer of the shallow extraction structure; The image to be processed is subjected to feature processing through the convolution layer to obtain shallow features of the image to be processed.
3. The method according to claim 1, characterized in that The dual-branch extraction structure includes a parallel CNN branch and a Mamba branch; The step of extracting the shallow features through the dual-branch extraction structure to obtain the deep features of the image to be processed includes: Performing deep feature extraction on the shallow feature through the CNN branch to obtain a first feature; Performing deep feature extraction on the shallow feature through the Mamba branch to obtain a second feature; A deep feature of the image to be processed is obtained based on the first feature and the second feature.
4. The method according to claim 3, characterized in that The dual-branch extraction structure further includes a feature fusion module; the deep features of the image to be processed are obtained based on the first feature and the second feature, including: The feature fusion module is used to perform feature fusion processing on the first feature and the second feature to obtain deep features of the image to be processed.
5. The method according to claim 1, characterized in that The high-quality reconstruction structure is used to reconstruct data of the image to be processed based on the shallow features and the deep features to obtain a corresponding super-resolution result image, including: Using the high-quality reconstruction structure, the shallow features and the deep features are fused by global residual connection processing to obtain fused features; The fusion features are up-sampled to obtain a super-resolution result image corresponding to the image to be processed, so as to complete data reconstruction of the image to be processed.
6. The method according to any one of claims 1 to 5, characterized in that: The preparing of the training data set and constructing a target super-resolution model based on the training data set include: Acquire high-resolution images; Preprocessing the high-resolution image to obtain a corresponding low-resolution image, and forming an image pair based on the high-resolution image and the corresponding low-resolution image; A training data set is formed based on a preset number of image pairs, and model training is performed based on the training data set to obtain a target super-resolution model.
7. The method according to claim 1, characterized in that The loss function of the target super-resolution model is the L1 loss function, and the calculation formula is as follows:
8. A super-resolution processing device for remote sensing images, characterized in that: include: A model unit, used to prepare a training data set, and construct a target super-resolution model based on the training data set, wherein the target super-resolution model includes a shallow extraction structure, a dual-branch extraction structure, and a high-quality reconstruction structure; A data unit, used for acquiring a low-resolution image to be processed, and inputting the image to be processed into the target super-resolution model; A first extraction unit, configured to extract features of the image to be processed by using the shallow extraction structure to obtain shallow features of the image to be processed; A second extraction unit, configured to extract the shallow features through the dual-branch extraction structure to obtain deep features of the image to be processed; A reconstruction unit is used to reconstruct data of the image to be processed based on the shallow features and the deep features through the high-quality reconstruction structure to obtain a corresponding super-resolution result image.
9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the super-resolution processing method of remote sensing images as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is enabled to execute the remote sensing image super-resolution processing method according to any one of claims 1 to 7.
Citation Information
Cited By
Double-branch remote sensing image semantic segmentation method and device based on visual converter and Mama
CN119360026A
Dual-branch remote sensing image semantic segmentation method and device based on visual transformer and mamba
CN119360026B
Improved infrared small target detection method and system based on visual state space model
CN119810681A
Unmanned aerial vehicle GPS spoofing attack detection method and device based on comparative learning and Mama
CN120559680A
