Remote sensing image compression method based on multi-scale asymmetric coding and decoding network

Through multi-scale asymmetric encoding and decoding networks and adaptive context entropy models, the problems of information entropy fitting degree and model complexity in remote sensing image compression are solved, and more efficient remote sensing image compression performance and detailed information reconstruction are achieved.

CN118608799APending Publication Date: 2024-09-06XIDIAN UNIV
View PDF 0 Cites 10 Cited by

Patent Information

Application Number
CN202410645443.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing remote sensing image compression methods have poor information entropy fitting when processing multi-scale detail information, high model complexity, and many channel redundancies, making it difficult to achieve optimal compression performance.

Method used

A multi-scale asymmetric encoding and decoding network is used to enhance feature extraction capabilities through multi-scale residual modules and multi-scale hole attention modules, and build an adaptive context entropy model to improve information entropy fitting and reduce model complexity.

Benefits of technology

It improves the compression performance of remote sensing images, reduces channel redundancy, and achieves better detailed information reconstruction quality and higher compression efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608799A
    Figure CN118608799A
Patent Text Reader

Abstract

The invention discloses a remote sensing image compression method based on a multi-scale asymmetric coding and decoding network, and mainly solves the problem that the existing method cannot fully extract multi-scale detail information in a remote sensing image. According to the implementation scheme, a remote sensing image data set is obtained and divided into a training set and a test set; constructing an asymmetric remote sensing image compression network based on multi-scale cavity attention and a loss function of the asymmetric remote sensing image compression network, wherein the asymmetric remote sensing image compression network is composed of a multi-scale residual module, a multi-scale cavity attention module, a multi-scale asymmetric codec, a self-adaptive context entropy model and a super-prior codec; equally dividing the training set into a plurality of image groups according to the batch size, and circularly inputting the image groups into the network in sequence until the loss function converges; and inputting the test set into the trained compression network to obtain a reconstructed remote sensing image. According to the method, the feature extraction capability of the compression model on multi-scale information in the remote sensing image can be enhanced, channel redundancy is reduced, the remote sensing image compression performance is improved, and the method can be used for processing images with rich texture details and large data volume.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image processing, and in particular relates to a remote sensing image compression method, which can be used to process images with rich texture details and large data volume. Background Art

[0002] The increasingly mature remote sensing technology has greatly promoted the development of remote sensing satellite image acquisition and other related tasks, and has been widely used in agriculture, emergency rescue, land dynamic monitoring, urban planning, military reconnaissance, resource exploration and environmental monitoring. However, compared with natural images, remote sensing images have more information and higher data dimensions. The huge amount of data makes it difficult to store, transmit and apply remote sensing images. Therefore, studying efficient and feasible remote sensing image compression algorithms is a necessary means to solve the difficulties in remote sensing image transmission and save storage resources. At present, the compression methods for remote sensing images are mainly divided into traditional remote sensing image compression methods and remote sensing image compression methods based on deep learning.

[0003] Traditional remote sensing image compression methods rely on manually designed feature extractors, mainly including vector quantization-based compression methods, transformation-based compression methods, and prediction-based compression methods, among which:

[0004] Compression methods based on vector quantization can map a set of continuous pixels into a set of finite vector codes, thereby achieving compression of image data. A typical method is introduced by Ryan et al. in The lossless compression of AVIRIS images by vector quantization [J]. IEEE transactions on geoscience and remote sensing, 1997, 35(3): 546-550, which only indexes the sub-code table during the vector quantization process to improve the encoding process and achieves better compression performance through mean normalization. However, this compression method based on vector quantization has high computational complexity and is only effective when processing images with continuous tone changes and rich textures, which has great limitations.

[0005] Transformation-based compression methods mainly map the original data into the transform domain, which significantly reduces the correlation of the data in the transform domain and greatly reduces the data redundancy information. A typical method is proposed by Bo et al. in Remote-sensing image compression using two-dimensional oriented wavelet transform [J]. IEEE Transactions on Geoscience and Remote sensing, 2010, 49 (1): 236-250, which uses fewer bits to sparsely represent pixels in the transform domain. Although this transformation-based method can reduce spatial redundancy, it needs to balance the compression effect with the overall complexity of the algorithm, and is difficult to apply directly.

[0006] The prediction-based compression method mainly uses the correlation between the current pixel of the image and the pixels in the neighborhood to infer the pixel value at the current position through the values ​​of nearby known pixels, thereby reducing the information entropy of the original image data. A typical method is the adaptive prediction length method (C-DPCM-Adaptive Prediction Length, C-DPCMAPL) proposed by Jarno et al. in Lossless compression of hyperspectral images using clustered linear prediction with adaptive prediction length [J]. IEEE Geoscience and Remote Sensing Letters, 2012, 9 (6): 1118-1121. The advantage of this prediction-based compression method is that it has a lower algorithm complexity and is easy to implement in hardware, but the compression performance of this prediction-based method is relatively poor.

[0007] Traditional compression methods only use manually designed feature extractors. Although they can effectively solve the problem of high-resolution satellite image data transmission, when the compression ratio is high, serious distortion will occur in the detail texture and they cannot handle the variable optical remote sensing images well.

[0008] At present, natural image compression based on deep learning has shown great potential. It is very feasible to apply deep learning methods to remote sensing image compression. Remote sensing image compression based on deep learning has become one of the current hot research topics. Deep learning has powerful learning ability, feature extraction ability, expression ability and high-dimensional data processing ability. Compared with traditional compression methods, deep learning can better solve the problems of large-scale data volume, multiple details, strong redundancy and large-rate compression of remote sensing images.

[0009] In the patent document with application number CN202211594112.5, Zhao Hua et al. disclosed a remote sensing image compression method based on an end-to-end convolutional neural network, which extracts the feature information of the image through an autoencoder, then uses quantization and entropy coding to remove feature redundancy in the image, and finally uses rate-distortion optimization to jointly tune the image distortion and compression bit rate.

[0010] Chong et al. proposed a high-resolution remote sensing image compression attention model based on high-order Markov random field in High-order Markov random field as attention network for high-resolution remote-sensing image compression[J].IEEE Transactions on Geoscience and Remote Sensing, 2021, 60:1-14. The model combines the parameter learning of Markov random field with the image compression network, effectively expresses the prior information, and accelerates the convergence speed of training.

[0011] Han et al. proposed a high-fidelity lossy remote sensing image compression network in Edge-Guided Remote Sensing Image Compression[J].IEEE Transactions on Geoscience and Remote Sensing, 2023, which added an edge-guided dual discriminator GAN network and minimized multi-constrained edge fidelity constraints, and can reconstruct clear edge structures and texture details of remote sensing images.

[0012] Zhai et al. introduced the classification strategy of remote sensing images into deep learning-based image compression in Adaptive scene-aware deep attention network for remote sensing image compression[J].Journal of Electronic Imaging, 2021, 30(5):053008-053008, and achieved good remote sensing image compression effect.

[0013] The above four image compression technologies are all remote sensing image compression methods based on deep learning. Since they pay less attention to the multi-scale detail information contained in the remote sensing image itself, the distribution fit of the information entropy is poor, and the model is more complex and has more channel redundancy, making it difficult to achieve optimal compression performance. Summary of the invention

[0014] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and propose a remote sensing image compression method based on a multi-scale asymmetric encoding and decoding network to enhance the feature extraction capability of the compression model for multi-scale information in remote sensing images, improve the fitting degree of the compression model to the information entropy of remote sensing images, and at the same time reduce the model complexity, reduce channel redundancy, and improve the compression performance of remote sensing images.

[0015] The technical ideas for achieving the purpose of the present invention are: by setting a multi-scale residual module and a multi-scale hole attention module, the feature extraction capability of the compression model for multi-scale information of remote sensing images is enhanced; by constructing an asymmetric encoding and decoding network, the model complexity is reduced; by constructing an adaptive context entropy model, the fitting degree of remote sensing image information entropy is improved and channel redundancy is reduced.

[0016] According to the above technical ideas, the implementation steps of the present invention include the following:

[0017] (1) A set of remote sensing images is selected from the existing remote sensing image datasets, and preprocessed by normalization and cropping operations to obtain a dataset with a unified size of 640×640; the dataset is then divided into a training set and a test set in a ratio of 9:1;

[0018] (2) Construct a remote sensing image compression network based on a multi-scale asymmetric encoding and decoding network under the Pytorch framework:

[0019] (2a) establishing a multi-scale residual module MSRB including a multi-scale feature fusion module and a local residual learning module;

[0020] (2b) Establish a multi-scale dilated attention module MSDA including a multi-scale sliding window dilated module, a convolutional module and a basic residual block;

[0021] (2c) establishing an adaptive context entropy model including a non-uniform channel context model and a discrete Laplace mixed entropy model;

[0022] (2d) The multi-scale residual module MSRB, the multi-scale hole attention module MSDA, the basic residual block, and the convolutional block are sequentially cascaded to form a multi-scale asymmetric encoder;

[0023] (2e) establishing a multi-scale asymmetric decoder with the same structure as the multi-scale asymmetric encoder;

[0024] (2f) Establish a super prior encoder consisting of n convolutional layers of different sizes, 0 <n<5;

[0025] (2g) establishing a super-a priori decoder with the same structure as the existing super-a priori encoder;

[0026] (2h) cascading a multi-scale asymmetric encoder, a super-prior encoder, a super-prior decoder, an adaptive context entropy model and a multi-scale asymmetric decoder in sequence to form a remote sensing image compression network based on a multi-scale asymmetric encoding and decoding network;

[0027] (2i) Select the existing rate-distortion loss function L as the loss function of the network;

[0028] (3) inputting the training set described in step (1) into the remote sensing image compression network, using the Adam optimizer and the gradient descent method, iteratively training with the goal of minimizing the loss function, and obtaining a trained remote sensing image compression network;

[0029] (4) Input the test set into the trained remote sensing image compression network and output the reconstructed remote sensing image.

[0030] Compared with the prior art, the present invention has the following advantages:

[0031] First, the ability to extract multi-scale features is high and the model complexity is low:

[0032] The existing remote sensing image compression model based on deep learning does not optimize the multi-scale features in remote sensing images, resulting in poor feature extraction capabilities for remote sensing images;

[0033] The multi-scale asymmetric codec proposed in the present invention uses multi-scale residual blocks to adaptively detect and fuse multi-scale features, and uses multi-scale hole attention to capture and aggregate semantic information at each scale, so that the network can not only effectively extract the features of objects at different scales and retain more detailed information of remote sensing images; but also reduce the decoding complexity without affecting the image reconstruction performance.

[0034] Second, the fitting degree of information entropy is improved and channel redundancy is reduced:

[0035] Existing remote sensing image compression models based on deep learning generally use Gaussian entropy models to model potential features, and almost do not consider the problem of uneven entropy values ​​of different channels; the adaptive context entropy model proposed in the present invention uses a discrete Laplace mixture model to improve the accuracy of modeling of quantized potential features, and uses a non-uniform channel context model to allocate smaller channel number granularity to channel slices with larger entropy values, effectively reducing channel redundancy and improving compression efficiency.

[0036] Experimental results show that compared with the existing traditional remote sensing image compression method and the remote sensing image compression method based on deep learning, the present invention pays more attention to the reconstruction of the detailed texture information of the remote sensing image, presents better reconstruction quality at the same bit rate, and achieves higher compression performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a general flow chart for realizing the present invention;

[0038] Figure 2 A schematic diagram of the remote sensing image compression network structure based on a multi-scale asymmetric encoding and decoding network constructed in the present invention;

[0039] Figure 3 for Figure 2 Schematic diagram of the multi-scale asymmetric codec structure in;

[0040] Figure 4 for Figure 3 Schematic diagram of the multi-scale residual module and multi-scale hole attention module structure in ;

[0041] Figure 5 for Figure 2 Schematic diagram of the super-prior codec structure in;

[0042] Figure 6 for Figure 2 Schematic diagram of the adaptive context entropy model structure in;

[0043] Figure 7 A comparison diagram of images reconstructed and restored using the present invention and the existing remote sensing image compression method;

[0044] Figure 8 for Figure 7 A magnified view of the restored image details. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work should all fall within the scope of protection of the present invention.

[0046] This example is based on a remote sensing image compression network of a multi-scale asymmetric encoding and decoding network, which is used to perform lossy compression on remote sensing images at a low bit rate. It first sends the input image to a multi-scale encoder to extract potential features at different scales, and then further extracts side information from the potential features. The side information at different scales is used to guide the entropy encoding of the quantized potential features to generate a bitstream. The bitstream is decoded at the decoding end and input into a multi-scale decoder to obtain a reconstructed image.

[0047] Reference Figure 1 The specific implementation steps of this example are as follows:

[0048] Step 1: Get the dataset and perform preprocessing and segmentation.

[0049] Obtain the existing DIOR remote sensing dataset, which contains 23,463 remote sensing images, each with a spatial resolution of 800 × 800.

[0050] All images in the dataset are preprocessed, i.e., their spatial resolution is changed to 640×640 by normalization and cropping;

[0051] The preprocessed data set is then redivided in a ratio of 9:1, and 2347 images are randomly selected as the test set, and the remaining images are used as the training set.

[0052] Step 2: Construct a remote sensing image compression network based on a multi-scale asymmetric encoding and decoding network.

[0053] 2.1) Constructing a multi-scale asymmetric codec:

[0054] 2.1.1) Construct a multi-scale residual block MSRB containing two parallel branches, such as Figure 4 (a) as shown:

[0055] The first branch is composed of two residual blocks and a sixth convolutional layer in cascade, each residual block includes three convolutional layers and two activation functions, wherein the first convolutional layer, the first ReLU activation function layer, the second convolutional layer, the second ReLU activation function layer and the third convolutional layer are cascaded in sequence, and the output features of the third convolutional layer are added element by element to the original input features as the output of the residual block, the convolution kernel sizes of the first convolutional layer, the third convolutional layer and the sixth convolutional layer are all 1×1, the convolution kernel size of the second convolutional layer is 3×3, and the stride sizes of the four convolutional layers are all 2;

[0056] The second branch is composed of two ConvNeXt modules and a seventh convolution layer in cascade, each ConvNeXt block includes three convolution layers, a normalization layer and a GeLu activation function layer, wherein the first depth convolution layer and the normalization layer are cascaded, the normalized features are cascaded with the fourth convolution layer, the GeLu activation function layer and the fifth convolution layer, and the output features of the fifth convolution layer are added element by element to the original input features as the output of the ConvNeXt block; the convolution kernel size of the first depth convolution layer is 7×7, the convolution kernel sizes of the fourth convolution layer, the fifth convolution layer and the seventh convolution layer are all 1×1, and the stride of the four convolution layers is 2;

[0057] The outputs of the above two branches are concatenated, reduced in dimension through the eighth convolutional layer, and then added to the input features to obtain a multi-scale residual block MSRB.

[0058] 2.1.2) Construct a multi-scale hole attention block MSDA containing two parallel branches, such as Figure 4 (b) as shown:

[0059] The first branch is composed of a sliding window hole module MSWDB, three residual blocks, a ninth convolution layer and a sigmoid function layer cascaded together. The sliding window hole module MSWDB divides the channel of the feature map into three different heads, and performs self-attention on each head using a different dilation rate r, and then splices the multi-scale features obtained after different dilation rates when r=1, 2, and 3, and sends them to the linear layer for feature aggregation; the convolution kernel size of the ninth convolution layer is 1×1, and the step size is 2. The third residual block, the fourth residual block and the fifth residual block have the same residual block structure as the multi-scale residual module MSRB;

[0060] The second branch is composed of a sixth residual block, a seventh residual block and an eighth residual block cascaded in sequence, and each residual block is the same as the residual block in the multi-scale residual block MSRB;

[0061] The output features of the above two branches are multiplied, and the result is added element-by-element to the original input features to obtain the multi-scale hole attention block MSDA to aggregate semantic information at multiple scales of different receptive fields.

[0062] 2.1.3) A convolutional layer, three residual blocks, three multi-scale residual blocks MSRB and two multi-scale hole attention blocks MSDA are cascaded to form a multi-scale asymmetric encoder, such as Figure 3 As shown in (a), its structural relationship is:

[0063] 1st residual block → 1st multi-scale residual block MSRB → 2nd residual block → 1st multi-scale hole attention block MSDA → 2nd multi-scale residual block MSRB → 3rd residual block → 3rd multi-scale residual block MSRB → 1st convolutional layer → 2nd multi-scale hole attention block MSDA;

[0064] The convolution kernel size of the first convolution layer is 3×3, the step size is 2, and the first residual block, the second residual block and the third residual block have the same residual block structure as the multi-scale residual block MSRB.

[0065] 2.1.4) A convolutional layer, three residual blocks, a multi-scale residual block MSRB and two multi-scale hole attention blocks MSDA are cascaded to form a multi-scale asymmetric decoder, such as Figure 3 (b) shows that its structural relationship is:

[0066] The 3rd multi-scale hole attention block MSDA → the 4th residual block → the 5th residual block → the 4th multi-scale hole attention block MSDA → the 4th multi-scale residual block MSRB → the 6th residual block → the 2nd convolutional layer;

[0067] The convolution kernel size of the second convolutional layer is 3×3, and the stride is 2. The fourth, fifth, and sixth residual blocks are all the same as the residual block structure in the multi-scale residual block MSRB.

[0068] 2.2) Construct a hyperprior encoder including three convolutional layers, that is, cascade the third convolutional layer, the fourth convolutional layer, and the fifth convolutional layer, as Figure 5 (a) shown, where the convolution kernel size of the third convolutional layer is 3×3, and the convolution kernel sizes of the fourth convolutional layer and the fifth convolutional layer are 5×5. The strides of the three convolutional layers are all 2.

[0069] 2.3) Construct a hyperprior decoder including three convolutional layers, that is, cascade the sixth convolutional layer, the seventh convolutional layer, and the eighth convolutional layer, as Figure 5 (b) shown, where the convolution kernel size of the eighth convolutional layer is 3×3, and the convolution kernel sizes of the sixth convolutional layer and the seventh convolutional layer are 5×5. The strides of the three convolutional layers are all 2.

[0070] 2.4) Construct a non-uniform channel context model, as Figure 6 (a) shown:

[0071] 2.4.1) Divide the feature with m channels along the channel dimension into n channel slices where 0 < i < n, and send these channel slices into the context module MEM++, to obtain the entropy parameter φ for jointly predicting the hyperprior , and then use these entropy parameters as the feature information of the next channel slice and send them into the context module MEM++;

[0072] 2.4.2) Repeat step 2.4.1) to obtain a non-uniform channel context model.

[0073] The module MEM++ is an existing basic context module, which includes spatial context and channel context in two parts. In the k-th non-uniform grouping block, use the spatial context model to identify spatial redundancy, use the channel context model to model the channel context information, and connect the outputs of the spatial and channel branches with the hyperprior representation ψ to obtain the entropy parameter and then decode this entropy parameter to obtain the feature of the k-th channel

[0074] 2.5) Construct a discrete Laplace mixture entropy model including quantization operation, arithmetic entropy coding, and arithmetic entropy decoding, as Figure 6 (b) shown, where:

[0075] The quantization operation is to convert the input potential features into a limited value range using universal quantization UQ to obtain an approximate quantization value: In the formula, is a rounding function, y is the potential feature of the input, and u is a uniform noise in the range of [-0.5, 0.5];

[0076] The entropy encoding and decoding is to quantize the potential features Perform entropy estimation to obtain the probability distribution of output features The predicted probability distribution parameters are then passed to the arithmetic encoder and arithmetic decoder for guiding entropy coding and entropy decoding, where: i represents the position index in the feature map, k represents the number of mixed Laplaces, Q(·) represents the quantization function, and each Laplace model is a single Laplace distribution with three parameters, namely weights Mean and each element feature y i Variance

[0077] 2.6) The non-uniform channel context model and the discrete Laplace mixed entropy model are cascaded to form an adaptive context entropy model.

[0078] 2.7) The multi-scale asymmetric encoder, super-prior encoder, super-prior decoder, adaptive context entropy model, and multi-scale asymmetric decoder are cascaded to form a remote sensing image compression network based on the multi-scale asymmetric encoding and decoding network.

[0079] Step 3: Train the remote sensing image compression network based on the multi-scale asymmetric encoding and decoding network.

[0080] 3.1) Divide the preprocessed images into multiple image groups according to the batch size, and input the first image group into the remote sensing image compression network to obtain the initial weights and bias values ​​of each convolution operation of the network;

[0081] 3.2) Calculate the loss value Loss corresponding to each image in the training set:

[0082]

[0083] in, Representation of underlying latent representation The bit rate loss, Represents the hyper-prior potential representation The bit rate loss, represents the MSE distortion loss of the original image and the reconstructed image, λ represents the weight parameter, and the compression bit rate of the remote sensing image is controlled by controlling λ. The larger the λ value, the smaller the compression multiple of the remote sensing image.

[0084] 3.3) With the goal of minimizing the loss function value, the Adam optimizer is used to update the parameters of the remote sensing image compression network to obtain the compression network model after the first parameter update;

[0085] 3.4) Input the second image group into the compressed network model after the first parameter update, repeat steps 3.2) to 3.3) to obtain the compressed network model after the second parameter update, and so on, until all image groups are input and one training round is completed;

[0086] 3.4) Repeat steps 3.2) to 3.4) until the set number of training rounds is reached to obtain a trained compression network model. In this example, the number of rounds is set but not limited to 200.

[0087] Step 4: Input the test set into the trained remote sensing image compression network and output the reconstructed image result.

[0088] The effect of the present invention is further illustrated by the following simulation test:

[0089] 1. Test conditions

[0090] Dataset: Use the existing DIOR remote sensing image dataset;

[0091] Experimental platform: CPU is Intel(R) Core(TM) i9-10900X@3.70GHz, 64GB memory, operating system is Ubuntu18.04, graphics card is NVIDIA GeForce RTX 3090, and Pytorch version is 1.8.1;

[0092] Parameter setting: The training batch size of the present invention is set to 8, the initial learning rate is set to 1e-4, and a total of 200 rounds of training are performed.

[0093] 2. Simulation test content

[0094] Test 1: The DIOR test set is compressed using the present invention and the existing JPEG method, JPEG2000 method, BPG method, MLIC++ method, Mean-Scale method, and Cheng-atten method respectively to obtain reconstructed images at different compression bit rates, and their respective peak signal-to-noise ratios PSNR are calculated. The bit rate saved BD-rate (%) at the same reconstructed image quality PSNR and the PSNR performance improved BD-PSNR (dB) at the same bit rate are used as two evaluation indicators. The Mean-Scale method is used as the baseline, and its corresponding BD-rate and BD-PSNR are set to 0 for performance comparison. The results are shown in Table 1.

[0095] Table 1 Comparison of BD-rate performance of the present invention and six existing compression methods tested on the DIOR test set

[0096]

[0097] In Table 1, a negative BD-rate value represents the bit rate saved at the same PSNR, and a positive BD-rate value represents the increased bit rate. A negative BD-PSNR value represents the reduced PSNR performance at the same bit rate, and a positive BD-PSNR value represents the improved PSNR performance. At the same bit rate, the higher the PSNR, the better the remote sensing image compression performance.

[0098] As can be seen from Table 1, the image restoration quality and bit rate savings of the method proposed in the present invention are better than those of several other compression methods, indicating that the present invention has obvious advantages in compression performance.

[0099] Test 2: The DIOR test set is compressed using the present invention and the existing JPEG method, JPEG2000 method, BPG method, MLIC++ method, Mean-Scale method, and Cheng-atten method to obtain reconstructed images of different methods, such as Figure 7 As shown, where:

[0100] Figure 7 (a) is the original image of the test set;

[0101] Figure 7 (b) for using the method of the present invention Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0102] Figure 7 (c) Using the MLIC++ method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0103] Figure 7 (d) To use the Cheng-atten method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0104] Figure 7 (e) To use the Mean-Scale method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0105] Figure 7 (f) To use the BPG method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0106] Figure 7 (g) Using the JPEG2000 method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0107] Figure 7 (h) is the use of JPEG method Figure 7 (a) The reconstruction result of remote sensing image after compression;

[0108] Figure 8 yes Figure 7 A detailed enlarged image is shown to more intuitively present the reconstructed image results.

[0109] from Figure 7 and Figure 8 It can be seen that the reconstructed images obtained using the traditional JPEG and JPEG2000 methods will have obvious blurring and blocking effects. The reconstructed image quality of the traditional BPG method and the MLIC++ method, Mean-Scale method, and Cheng-atten method based on deep learning are comparable, but it can be clearly seen that these four methods have poor effects on restoring image detail information. The reconstructed image of the method of the present invention retains more texture detail information and tonal features, is closer to the original image, and achieves better visual restoration effect.

[0110] Based on the comparison of the simulation results of the above seven methods, the compression performance of the method of the present invention on remote sensing images is better than that of the other six existing methods.

[0111] It should be noted that the step numbers in the specification and claims of the present invention are only for a clear description of the implementation scheme of the present invention to facilitate understanding, and the order of the step numbers is not limited.

Claims

1. A remote sensing image compression method based on a multi-scale asymmetric encoding and decoding network, characterized in that: The steps include: (1) A set of remote sensing images is selected from the existing remote sensing image datasets, and preprocessed by normalization and cropping operations to obtain a dataset with a unified size of 640×640; the dataset is then divided into a training set and a test set in a ratio of 9:1; (2) Construct a remote sensing image compression network based on a multi-scale asymmetric encoding and decoding network under the Pytorch framework: (2a) establishing a multi-scale residual module MSRB including a multi-scale feature fusion module and a local residual learning module; (2b) Establish a multi-scale dilated attention module MSDA including a multi-scale sliding window dilated module, a convolutional module and a basic residual block; (2c) establishing an adaptive context entropy model including a non-uniform channel context model and a discrete Laplace mixed entropy model; (2d) The multi-scale residual module MSRB, the multi-scale hole attention module MSDA, the basic residual block, and the convolutional block are sequentially cascaded to form a multi-scale asymmetric encoder; (2e) establishing a multi-scale asymmetric decoder with the same structure as the multi-scale asymmetric encoder; (2f) Establish a super prior encoder consisting of n convolutional layers of different sizes, 0 <n<5; (2g) establishing a super-a priori decoder with the same structure as the existing super-a priori encoder; (2h) cascading a multi-scale asymmetric encoder, a super-prior encoder, a super-prior decoder, an adaptive context entropy model and a multi-scale asymmetric decoder in sequence to form a remote sensing image compression network based on a multi-scale asymmetric encoding and decoding network; (2i) Select the existing rate-distortion loss function L as the loss function of the network; (3) inputting the training set described in step (1) into the remote sensing image compression network, using the Adam optimizer and the gradient descent method, iteratively training with the goal of minimizing the loss function, and obtaining a trained remote sensing image compression network; (4) Input the test set into the trained remote sensing image compression network and output the reconstructed remote sensing image.

2. The method according to claim 1, characterized in that The multi-scale residual module MSRB established in step (2a) is implemented as follows: (2a1) constructing a local residual learning submodule including two residual blocks and a sixth convolutional layer, each residual block including three convolutional layers and two activation functions, wherein the first convolutional layer, the first ReLU activation function layer, the second convolutional layer, the second ReLU activation function layer and the third convolutional layer are sequentially cascaded, and the output features of the third convolutional layer are element-wise added to the original input features as the output of the residual block; (2a2) construct a multi-scale feature fusion submodule including two ConvNeXt blocks and a seventh convolutional layer, each ConvNeXt block includes a deep convolutional layer, two convolutional layers, a normalization layer and a GeLu activation function layer, wherein the first deep convolutional layer and the normalization layer are cascaded, and the normalized features are cascaded with the fourth convolutional layer, the GeLu activation function layer and the fifth convolutional layer, and the output features of the fifth convolutional layer are added element by element to the original input features as the output of the ConvNeXt block; (2a3) After the outputs of the local residual learning submodule and the multi-scale feature fusion submodule are connected in parallel, the dimension is reduced through the eighth convolutional layer and then added to the input features to obtain the multi-scale residual module MSRB.

3. The method according to claim 2, characterized in that: The convolution kernel size of the second convolutional layer is 3×3 and the stride is 2; The convolution kernel sizes of the first convolution layer, the third convolution layer, the fourth convolution layer, the fifth convolution layer, the sixth convolution layer, the seventh convolution layer and the eighth convolution layer are all 1×1, and the step sizes are all 2; The convolution kernel size of the first depth convolution layer is 7×7 and the stride is 2.

4. The method according to claim 1, characterized in that: The multi-scale hole attention module MSDA established in step (2b) is implemented as follows: (2b1) Establish a first branch consisting of a sliding window hole module, three residual blocks, a convolution layer and a Sigmoid function layer cascaded in sequence. The sliding window hole module is used to divide the channel of the feature map into three different heads, use a different dilation rate r for self-attention on each head, and splice the multi-scale features obtained after different dilation rates r, and input the obtained multi-scale features into the residual block; (2b2) ​​establishing a second branch consisting of the sixth residual block, the seventh residual block and the eighth residual block cascaded in sequence; (2b3) The output features of the above two branches are multiplied, and the result is added element by element to the original input features to obtain the multi-scale void attention module MSDA.

5. The method according to claim 4, characterized in that: The expansion rate of the first branch is r=1, 2, 3; The convolution kernel size of the ninth convolutional layer is 1×1, and the step size is 2; The third residual block, the fourth residual block, the fifth residual block, the sixth residual block, the seventh residual block and the eighth residual block all have the same residual block structure as the residual block in the multi-scale residual module MSRB.

6. The method according to claim 1, characterized in that In step (2c), an adaptive context entropy model is established, which is implemented as follows: (2c1) Construct a non-uniform channel context model consisting of n context modules MEM++ connected in parallel. The input of this submodule has features of m channels. There are n channel slices along the channel dimension These channel slices are fed into the context module MEM++ to obtain the hyper-prior for joint prediction The entropy parameter φ; (2c2) constructing a discrete Laplace mixed entropy model including quantization, arithmetic entropy coding and arithmetic entropy decoding operations, wherein the quantization operation uses universal quantization UQ to achieve approximate quantization; the entropy coding and decoding operation is to perform entropy estimation on the latent features after quantization, predict the probability distribution of the output features, and pass the predicted probability distribution parameters to the arithmetic encoder and the arithmetic decoder for guiding entropy coding and entropy decoding; (2c3) The non-uniform channel context model and the discrete Laplace mixed entropy model are cascaded, and entropy encoding and entropy decoding are performed under the guidance of the potential feature probability distribution to obtain an adaptive context entropy model.

7. The method according to claim 6, characterized in that: Each context module MEM++ includes a spatial context and channel context In the kth uneven grouping block, the spatial context model is used to identify spatial redundancy, the channel context model is used to model the channel context information, and the outputs of the spatial and channel branches are connected with the super prior representation ψ to obtain the entropy parameter Then decode the entropy parameter to obtain the characteristics of the kth channel 8. The method according to claim 1, characterized in that: The multi-scale asymmetric encoder established in the step (2d) includes three residual blocks, one convolution layer, three multi-scale residual blocks MSRB and two multi-scale hole attention blocks MSDA, and its structural relationship is: the first residual block→the first multi-scale residual block MSRB→the second residual block→the first multi-scale hole attention block MSDA→the second multi-scale residual block MSRB→the third residual block→the third multi-scale residual block MSRB→the first convolution layer→the second multi-scale hole attention block MSDA; The multi-scale asymmetric decoder established in the step (2e) includes three residual blocks, one convolutional layer, one multi-scale residual block MSRB and two multi-scale hole attention blocks MSDA, and its structural relationship is: the third multi-scale hole attention block MSDA→the fourth residual block→the fifth residual block→the fourth multi-scale hole attention block MSDA→the fourth multi-scale residual block MSRB→the sixth residual block→the second convolutional layer; The convolution kernel sizes of the first convolution layer and the second convolution layer are both 3×3, and the step sizes are both 2; The first residual block, the second residual block, the third residual block, the fourth residual block, the fifth residual block and the sixth residual block all have the same residual block structure as the residual block in the multi-scale residual module MSRB.

9. The method according to claim 1, characterized in that: The super prior encoder established in the step (2f) is composed of a 3rd convolutional layer, a 4th convolutional layer and a 5th convolutional layer cascaded in sequence, and the convolution kernel size of the 3rd convolutional layer is 3×3, the convolution kernel sizes of the 4th convolutional layer and the 5th convolutional layer are 5×5, and the step sizes of the three convolutional layers are all 2; The super priori decoder established in the step (2g) is composed of the 6th convolutional layer, the 7th convolutional layer and the 8th convolutional layer cascaded in sequence, and the convolution kernel sizes of the 6th convolutional layer and the 7th convolutional layer are both 5×5, the convolution kernel size of the 8th convolutional layer is 3×3, and the step sizes of the three convolutional layers are all 2.

10. The method according to claim 1, characterized in that The rate-distortion loss function L in step (2i) is expressed as follows: in: Representation of underlying latent representation The bit rate loss, Represents the hyper-prior latent representation The bit rate loss, Represents the MSE distortion loss of the original image and the reconstructed image, and λ represents the weight parameter. By adjusting λ, different rate-distortion balances can be achieved and different compression ratios can be achieved.

11. The method according to claim 1, characterized in that: In step (3), the Adam optimizer and gradient descent method are used to iteratively train the remote sensing image compression network with the goal of minimizing the loss function, as follows: (3a) dividing the remote sensing image training data set into multiple image groups according to the batch size, and inputting the first image group into the compression network to obtain the initial weights and bias values ​​of each convolution operation of the network; (3b) Substitute the verification image into the rate-distortion optimization loss formula and calculate the loss value Loss corresponding to each image in the training set; (3c) Taking minimizing the loss function as the goal, the Adam optimizer is used to update the network parameters to obtain the compressed network model after the first parameter update; (3d) Input the second image group into the updated compression network model, repeat steps (3b) to (3d) to obtain the compression network model after the second parameter update; and so on, until the last group of images is input into the compression network after the previous update to obtain the trained compression network.

Citation Information

Cited By

  • 360-degree image compression method and device for adaptive latitude perception transform coding

    CN119342220A

  • Distributed region-of-interest image compression method

    CN119383348A

  • Remote sensing image scene classification system and method based on information fusion migration

    CN119478711A

  • Remote sensing image scene classification system and method based on information fusion migration

    CN119478711B

  • End-to-end joint optimization method for image compression transmission application

    CN119767041A