A compression method and a decompression method for satellite-borne remote sensing images

By using an image compression encoder on the spaceborne satellite to determine the target and non-target encoding channels, and inputting all-zero images for compression, the problem of spaceborne remote sensing image compression compatibility is solved, efficient image compression and decompression is achieved, and ensures Image quality and information integrity.

CN118555406BActive Publication Date: 2024-10-15ZHEJIANG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411007714.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-15
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

Existing commercial system-on-chip (SoC) devices are not compatible with the compression of spaceborne remote sensing images and cannot effectively process multispectral or hyperspectral images, especially information containing invisible spectral segments.

Method used

Use the image compression encoder on the satellite to ensure that the image compression encoder is compatible with multiple spectral bands acquired by the satellite sensor by determining the encoding channel that does not perform downsampling as the target encoding channel, and inputting all-zero images into the non-target encoding channel. images, retaining image information to the greatest extent possible.

Benefits of technology

It achieves effective compression and decompression of spaceborne remote sensing images, solves the compatibility problem between spaceborne sensors and image compression sensors, and ensures the quality and information integrity of compressed images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555406B_ABST
    Figure CN118555406B_ABST
Patent Text Reader

Abstract

The present specification discloses a method for compressing and decompressing satellite-borne remote sensing images. In the method for compressing satellite-borne remote sensing images provided in the present specification, a remote sensing image composed of multiple spectral band images collected by a satellite's onboard sensor is obtained, and a coding channel that does not perform downsampling in the image compression encoder is determined according to the configuration of the image compression encoder as a target coding channel. The all-zero image is input into a non-target coding channel, and each spectral band image is input into a target coding channel respectively, so that each spectral band image is compressed through the image compression encoder, the compressed data of the remote sensing image is determined, and the compressed data is transmitted to a ground receiving station. In the present method, in order to adapt to the compression principle of the image compression encoder, an all-zero image is input into the coding channel that performs downsampling, so that the image compression sensor can compress the remote sensing image acquired by the satellite-borne sensor, thereby solving the compatibility problem between the satellite-borne sensor and the image compression sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing, and in particular to a method for compressing and decompressing satellite-borne remote sensing images. Background Art

[0002] Due to the particularity of the space environment, the compression of satellite remote sensing images usually needs to rely on specially customized aerospace-grade devices, which requires complex circuit design and high design cost.

[0003] The compression of camera images is generally implemented using a system on chip (SoC) that integrates an image compression encoder. SoC is a commercial off-the-shelf (COTS) device with a high degree of integration. When using COTS devices to compress RGB images obtained by camera sensors, you only need to call the ready-made interface without investing a lot of cost in circuit design.

[0004] However, COTS devices are adapted to camera sensors and used for RGB image compression. Since RGB images only contain information of three spectral bands, and satellite remote sensing images are acquired by satellite sensors, they are usually multispectral images or hyperspectral images, which contain invisible spectral bands in addition to visible spectral bands. The compression principles of COTS devices and aerospace-grade devices used for satellite remote sensing image compression are different, resulting in COTS devices being incompatible with satellite image sensors and cannot be used for satellite remote sensing image compression.

[0005] Therefore, this specification provides a satellite-borne remote sensing image compression method and a decompression method. Summary of the invention

[0006] The present specification provides a method, device, storage medium and electronic device for compressing satellite-borne remote sensing images to at least partially solve the above-mentioned problems existing in the prior art.

[0007] This manual adopts the following technical solutions:

[0008] The present specification provides a method for compressing satellite-borne remote sensing images, the method being applied to a satellite, the system-on-chip of the satellite comprising an image compression encoder, the encoding channels of the image compression encoder comprising a brightness channel, a blue chrominance channel, and a red chrominance channel, the method comprising:

[0009] Acquire a remote sensing image composed of a plurality of spectral images collected by a satellite-borne sensor;

[0010] According to the configuration of the image compression encoder, determining a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determining a coding channel that performs downsampling as a non-target coding channel;

[0011] According to the size of the remote sensing image, an all-zero map consisting of zero pixel values ​​is constructed, and the all-zero map is input into the non-target coding channel, and each spectral segment map is input into the target coding channel respectively, so as to compress each spectral segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station.

[0012] Optionally, inputting each spectrum segment graph into the target encoding channel respectively includes:

[0013] Determining a pixel bit depth of the onboard sensor as a first bit depth;

[0014] Determining, according to the configuration of the image compression encoder, a pixel bit depth of an encoding channel of the image compression encoder as a second bit depth;

[0015] For each spectrum segment graph, adjusting the original pixel value of each pixel in the spectrum segment graph from the numerical range corresponding to the first bit depth to the numerical range corresponding to the second bit depth, so as to obtain a mapping graph corresponding to the spectrum segment graph;

[0016] Each mapping diagram is input into the target encoding channel respectively.

[0017] Optionally, obtaining a mapping diagram corresponding to the spectrum segment diagram specifically includes:

[0018] Determine a maximum pixel value and a minimum pixel value among the original pixel values ​​of each pixel in the spectrum segment image, and transmit the maximum pixel value and the minimum pixel value to the ground receiving station;

[0019] For each pixel in the spectrum segment image, determining a first mapping value after the original pixel value of the pixel is normalized according to the maximum pixel value, the minimum pixel value and the original pixel value of the pixel;

[0020] Determine, according to the first mapping value and the second bit depth, a second mapping value adjusted to a value range corresponding to the second bit depth;

[0021] Determining a mapped pixel value corresponding to the pixel according to the second mapped value;

[0022] According to the mapping pixel values ​​corresponding to the pixels in the spectrum segment image, a mapping image corresponding to the spectrum segment image is determined.

[0023] Optionally, the number of the target encoding channels is one, and the number of the non-target encoding channels is two;

[0024] Inputting the all-zero image into the non-target coding channel and inputting each spectrum segment image into the target coding channel respectively, so as to compress each spectrum segment image through the image compression encoder to determine the compressed data of the remote sensing image, specifically including:

[0025] For each spectrum segment graph, the all-zero graph is input into each non-target coding channel respectively, and the spectrum segment graph is input into the target coding channel;

[0026] The spectrum segment graph is compressed by the image compression encoder to obtain compressed sub-data of the spectrum segment graph;

[0027] The compressed data of the remote sensing image is determined according to the compressed sub-data of each spectral segment graph.

[0028] Optionally, the number of the target encoding channels is three;

[0029] Inputting the all-zero image into the non-target coding channel and inputting each spectrum segment image into the target coding channel respectively, so as to compress each spectrum segment image through the image compression encoder to determine the compressed data of the remote sensing image, specifically including:

[0030] Grouping the spectral images into groups of three to obtain spectral image groups;

[0031] For each spectral image group, the three spectral images contained in the spectral image group are input into each target encoding channel respectively;

[0032] The three spectral images are compressed by each encoding channel of the image compression encoder to obtain compressed sub-data of the spectral image group;

[0033] The compressed data of the remote sensing image is determined according to the compressed sub-data of each spectral image group.

[0034] Optionally, the method further comprises:

[0035] Repeating the above-mentioned method for compressing satellite-borne remote sensing images according to a preset number of repetitions to obtain compressed data of the remote sensing images of the repeated number;

[0036] Determine the number of bytes occupied by each compressed data;

[0037] Among the byte numbers, determine the number of compressed data with the same byte number as the credible number;

[0038] Determining whether the credible number is greater than the preset number;

[0039] If so, any compressed data among the compressed data having the same number of bytes is transmitted to the ground receiving station;

[0040] If not, the obtained compressed data are discarded, and the above-mentioned satellite-borne remote sensing image compression method is repeatedly executed according to the repetition number.

[0041] The present specification also provides a method for decompressing satellite-borne remote sensing images, the method being applied to a ground receiving station, the ground receiving station comprising an image compression decoder corresponding to an image compression encoder of the satellite, the decoding channels of the image compression decoder comprising a brightness channel, a blue chrominance channel and a red chrominance channel, the method comprising:

[0042] Receiving compressed data transmitted from a satellite, wherein the compressed data is obtained according to the above-mentioned method for compressing satellite-borne remote sensing images;

[0043] According to the configuration of the image compression decoder, determining a decoding channel corresponding to an encoding channel that is not downsampled in the image compression encoder as a target decoding channel;

[0044] Decompressing the compressed data through each decoding channel of the image compression decoder to determine a restored image corresponding to each decoding channel;

[0045] The decompressed remote sensing image is determined according to the restored image corresponding to the target decoding channel.

[0046] Optionally, the pixel value of each pixel in the spectral segment image of the target coding channel input to the image compression encoder of the satellite is bit-depth adjusted;

[0047] Determining the decompressed remote sensing image according to the restored image corresponding to the target decoding channel specifically includes:

[0048] Determining a pixel bit depth of a satellite-borne sensor as a first bit depth;

[0049] Determining, according to the configuration of the image compression decoder, a pixel bit depth of the image compression decoder as a third bit depth, wherein the third bit depth is the same as a pixel bit depth of an image compression encoder of the satellite;

[0050] Determining each decompressed mapping graph according to the restored graph corresponding to the target decoding channel;

[0051] For each decompressed map, adjusting the pixel value of each pixel in the decompressed map from the value range corresponding to the third bit depth to the value range corresponding to the first bit depth, and determining a decompressed spectrum segment map corresponding to the map;

[0052] The decompressed remote sensing image is determined according to each decompressed spectral segment graph.

[0053] Optionally, the pixel value of each pixel in the spectrum segment image of the target coding channel input to the image compression encoder of the satellite is normalized and the bit depth is adjusted;

[0054] The method further comprises: adjusting the pixel value of each pixel in the decompressed map from the value range corresponding to the third bit depth to the value range corresponding to the first bit depth, and determining the decompressed spectrum segment map corresponding to the map.

[0055] Receiving the maximum pixel value and the minimum pixel value transmitted by the satellite;

[0056] For each pixel value of the decompressed mapping image, determine, according to the maximum pixel value, the minimum pixel value, the third bit depth, and the pixel value of the pixel, a restored pixel value corresponding to the pixel value as the restored pixel value of the pixel;

[0057] According to the restored pixel values ​​corresponding to the pixels of the mapping image, a decompressed spectrum segment image corresponding to the mapping image is determined.

[0058] The present specification provides a satellite-borne remote sensing image compression device, the device is applied to a satellite, the satellite's on-chip system includes an image compression encoder, the encoding channels of the image compression encoder include a brightness channel, a blue chrominance channel, and a red chrominance channel, the device includes:

[0059] An acquisition module is used to acquire a remote sensing image composed of a plurality of spectral images collected by a satellite-borne sensor;

[0060] a target coding channel determination module, which determines, according to the configuration of the image compression encoder, a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determines a coding channel that performs downsampling as a non-target coding channel;

[0061] The compression module constructs an all-zero map composed of zero pixel values ​​according to the size of the remote sensing image, and inputs the all-zero map into the non-target coding channel, and inputs each spectral segment map into the target coding channel respectively, so as to compress each spectral segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station.

[0062] This specification also provides a decompression device for satellite-borne remote sensing images, the device is applied to a ground receiving station, the ground receiving station includes an image compression decoder corresponding to an image compression encoder of the satellite, the decoding channel of the image compression decoder includes a brightness channel, a blue chrominance channel and a red chrominance channel, the device includes:

[0063] A receiving module receives compressed data transmitted from a satellite, wherein the compressed data is obtained according to the above-mentioned method for compressing satellite-borne remote sensing images;

[0064] a target decoding channel determination module, which determines, according to the configuration of the image compression decoder, a decoding channel corresponding to an encoding channel that is not downsampled in the image compression encoder as a target decoding channel;

[0065] A decompression module, decompressing the compressed data through each decoding channel of the image compression decoder, and determining a restored image corresponding to each decoding channel;

[0066] The remote sensing image determination module determines the decompressed remote sensing image according to the restoration image corresponding to the target decoding channel.

[0067] The present specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned satellite-borne remote sensing image compression method or satellite-borne remote sensing image decompression method.

[0068] The present specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the above-mentioned satellite-borne remote sensing image compression method or satellite-borne remote sensing image decompression method is implemented.

[0069] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:

[0070] In the satellite-borne remote sensing image compression method provided in this specification, the satellite's on-chip system includes an image compression encoder, and the encoding channels of the image compression encoder include a brightness channel, a blue chromaticity channel, and a red chromaticity channel. A remote sensing image composed of multiple spectral band images collected by the satellite's onboard sensor is obtained, and according to the configuration of the image compression encoder, an encoding channel that is not downsampled in the image compression encoder is determined as a target encoding channel. According to the size of the remote sensing image, an all-zero image composed of zero pixel values ​​is constructed, and the all-zero image is input into a non-target encoding channel, and each spectral band image is respectively input into a target encoding channel, so as to compress each spectral band image through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to a ground receiving station.

[0071] In this method, in order to adapt to the compression principle of the image compression encoder, the spectrum image is compressed using the encoding channel that does not perform downsampling, and the all-zero image is input to the encoding channel that performs downsampling, so that the image compression sensor can compress the remote sensing image acquired by the space-borne sensor, solving the compatibility problem between the space-borne sensor and the image compression sensor. At the same time, because the encoding channel that does not perform downsampling in the image compression encoder is used as the target encoding channel, the original image information in the spectrum image is retained to the maximum extent while compressing. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0073] Figure 1 A compression principle diagram of an image compression encoder provided in this specification;

[0074] Figure 2 A schematic diagram of a flow chart of a method for compressing satellite-borne remote sensing images in this specification;

[0075] Figure 3 A compression flow chart when the number of target channels is one provided in an embodiment of this specification;

[0076] Figure 4 The embodiments of this specification provide corresponding to Figure 3 Compression process diagram;

[0077] Figure 5 A compression flow chart when the number of target channels is three provided in the embodiment of this specification;

[0078] Figure 6 The embodiments of this specification provide corresponding to Figure 5 Compression process diagram;

[0079] Figure 7 A schematic diagram of a process of bit depth adjustment provided in an embodiment of this specification;

[0080] Figure 8 A schematic flow chart of another satellite-borne image compression method provided in an embodiment of this specification;

[0081] Fig. 9 This is a flowchart of a method for decompressing satellite-borne remote sensing images in this specification;

[0082] Fig.10 A schematic diagram of a process of bit depth restoration method provided in an embodiment of this specification;

[0083] Fig.11 A method corresponding to the Figure 2 Schematic diagram of a compression device for spaceborne remote sensing images;

[0084] Fig.12 A method corresponding to the Fig. 9 Schematic diagram of a decompression device for spaceborne remote sensing images;

[0085] Fig.13 The corresponding Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION

[0086] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0087] Joint Photographic Experts Group (JPEG) is a commonly used image storage format and is widely used in image compression. Most COTS devices support JPEG compression during design.

[0088] The SoC integrated with the image compression encoder is a COTS device that can compress images. The encoding channels of the image compression encoder include a brightness channel, a blue chrominance channel, and a red chrominance channel. Figure 1 The compression principle diagram of an image compression encoder provided in this specification will be combined with Figure 1 The compression principle of the image compression encoder is explained.

[0089] like Figure 1 As shown in the figure, Y represents the brightness channel, Cb represents the blue chrominance channel, and Cr represents the red chrominance channel. When compressing an image, the image compression encoder converts the input RGB image into color space, samples it, transforms it into discrete cosine (DCT), quantizes it, and encodes it to obtain compressed data. The image after color space conversion is in YCbCr format, and all subsequent steps are based on the YCbCr format. After each step, the pixel values ​​of the image obtained will change. Figure 1 Different numerical labels under the YCbCr format image represent different image data obtained after different compression steps are completed.

[0090] The images captured by the camera sensor are usually in RGB format. In the color space conversion, the image compression encoder converts the input RGB format image into chroma-luminance format through the mapping relationship between the three color channels of the RGB format and the three channels of the chroma-luminance format.

[0091] RGB images are displayed by superimposing the channel maps of the three color channels of red, green and blue. Compressing the channel map of any channel will have a significant impact on the integrity of the image. In the chroma-luminance format, the image is represented by a channel map of one luminance channel and two chroma channels (blue chroma channel and red chroma channel).

[0092] According to the physiological characteristics of the human eye, it is more sensitive to brightness information and insensitive to chrominance information. Therefore, when compressing an image in the chrominance-luminance format, all pixel information of the image brightness channel will be retained. While achieving the effect of compressing the image data volume, the human eye is basically unable to perceive the difference between the image before and after compression.

[0093] Therefore, during the sampling process, the image compression encoder samples the channel graphs of the three channels according to the sampling format specified in the encoder configuration. Common sampling formats include 4:2:0, 4:2:2, 4:4:4, etc.

[0094] Among them, in the sampling formats of 4:2:0 and 4:2:2, it means that the image compression encoder does not downsample the brightness channel, but downsamples the two chrominance channels. Due to the downsampling of the chrominance channel, the amount of compressed image data is less. Since the human eye is not sensitive to chrominance, even if the information of the chrominance channel is reduced, the overall pixel information of the image can be retained to the maximum extent. In the sampling format of 4:4:4, the image compression encoder does not downsample the channel maps corresponding to the brightness channel, the blue chrominance channel, and the red chrominance channel. It can retain the complete brightness and chrominance information of the image and achieve higher compression quality, but the amount of data of the compressed image will also be larger.

[0095] After obtaining the image in chrominance and brightness format, the image compression encoder samples, performs DCT transformation, and quantizes the channel map corresponding to each coding channel through three coding channels respectively.

[0096] After DCT transformation and quantization, the pixel values ​​of each pixel of each channel map obtained will contain a large number of zero pixel values. During the encoding process, the image compression encoder scans each pixel of each channel map obtained after quantization in a specific order, such as scanning in a "Z" shape from the upper left pixel to the lower right pixel of the channel map to obtain a pixel value sequence composed of the pixel values ​​of each pixel of the channel map. In this case, there will be a large number of continuous zero pixel values ​​in the pixel value sequence.

[0097] During the encoding process, the image compression encoder uses run-length encoding to simplify the continuous zero pixel values ​​contained in the pixel value sequence according to the number of continuous zero pixel values ​​in each segment, so as to achieve the purpose of compressing the data volume. Then, the pixel sequence of each channel image after simplified representation is entropy encoded to obtain compressed data.

[0098] In the aerospace field, satellite-borne sensors capture the radiation energy in different spectral ranges of electromagnetic waves and obtain spectral band maps corresponding to each spectral range. Electromagnetic waves in different spectral ranges have different reflection, transmission and absorption characteristics for different objects on the earth's surface, and spectral band maps in different spectral ranges contain information of different dimensions. In order to obtain remote sensing images with more comprehensive information, most of the current satellite-borne remote sensing images are hyperspectral or multispectral images, which contain spectral band maps of multiple spectral ranges such as infrared, visible light, and microwaves.

[0099] At present, the image compression encoder in SoC processes images based on the chroma-luminance format when compressing images. The chroma-luminance format is an image format used to compress RGB images. Remote sensing images containing multiple spectrum bands cannot be converted into the chroma-luminance format. Therefore, the image compression encoder in SoC cannot be directly applied to the compression of remote sensing images.

[0100] In order to at least partially solve the above problems, this specification provides a method for compressing satellite-borne remote sensing images to achieve compatibility between an image compression encoder and a satellite-borne sensor, so that the image compression encoder can be used for compressing remote sensing images.

[0101] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0102] Figure 2 The present invention is a flowchart of a method for compressing satellite-borne remote sensing images in this specification. The method is applied to a satellite, and the satellite's on-chip system includes an image compression encoder. The encoding channels of the image compression encoder include a brightness channel, a blue chrominance channel, and a red chrominance channel. The method specifically includes the following steps:

[0103] S100: Acquire a remote sensing image composed of a plurality of spectral images collected by an onboard sensor of the satellite.

[0104] This specification does not limit the specific type of satellite that implements the satellite-borne remote sensing image compression method. For the convenience of description, the satellite-borne remote sensing image compression method provided in this specification is described using an earth exploration satellite as an example.

[0105] When a satellite flies over a certain area of ​​the earth, the onboard sensors will convert the radiation energy of various electromagnetic waves received in the area within different spectral ranges into digital signals, generating spectral band maps corresponding to each spectral range. The remote sensing image is composed of these spectral band maps.

[0106] After acquiring remote sensing images, satellites need to transmit them to ground receiving stations in order to monitor climate conditions, geological conditions, natural disasters, etc. Since the remote sensing images acquired by satellite-borne sensors are often high-resolution images with huge amounts of data, direct transmission will consume a lot of transmission bandwidth and storage space, and take a lot of time, which is inefficient. Therefore, satellites generally contain compression devices with image compression functions.

[0107] The first step of the compression method provided in this specification is to obtain the remote sensing image collected by the satellite sensor so that the remote sensing image can be compressed by the compression device and then transmitted. In this specification, the compression device uses a COTS device commonly used in camera image compression, which does not require special customization and has low cost.

[0108] S102: According to the configuration of the image compression encoder, determine a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determine a coding channel that performs downsampling as a non-target coding channel.

[0109] In order to ensure that the decompressed image of the compressed remote sensing image after being restored by the ground receiving station can maintain a high degree of similarity with the remote sensing image before compression, and to retain the information of the remote sensing image before compression to the maximum extent, the compression method provided in this specification compresses the spectral segment map that constitutes the remote sensing image through a coding channel that does not perform downsampling in the image compression encoder.

[0110] according to Figure 1 Regarding the explanation of the compression principle of the image compression encoder, in the sampling step, the image compression encoder performs sampling according to a specific sampling format in the encoder. Therefore, the satellite determines the sampling format of the image compression encoder included in the satellite according to the configuration of the image compression encoder, determines the coding channel that does not perform downsampling in the image compression encoder according to the sampling format as the target coding channel, and determines the coding channel that performs downsampling as the non-target coding channel.

[0111] The satellite determines different inputs for the target coding channel and non-target coding channel of the image compression encoder respectively, and only uses the target coding channel for compressing the spectral band map.

[0112] S104: According to the size of the remote sensing image, an all-zero map consisting of zero pixel values ​​is constructed, and the all-zero map is input into the non-target coding channel, and each spectral segment map is input into the target coding channel respectively, so as to compress each spectral segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station.

[0113] Because the image compression encoder contains three encoding channels, when compressing an RGB image, the RGB image is converted into three channel images in chrominance and brightness format, and then input into the three encoding channels for encoding. In order to adapt the compression logic of the image compression encoder, when applying the image compression encoder for image compression, it is necessary to determine the input of the three encoding channels.

[0114] Therefore, the satellite constructs a zero map composed of zero pixel values ​​according to the size of the remote sensing image. When compressing the remote sensing image, the zero map is used as the input of the non-target coding channel, and the spectrum map is used as the input of the target coding channel, so that each spectrum map can be compressed by the image compression encoder, the compressed data of the remote sensing image is determined, and the compressed data is transmitted to the ground receiving station.

[0115] Due to different configurations of the image compression encoder, there will be different sampling formats. In different sampling formats, the channels that are not downsampled are different, that is, the number of target encoding channels determined by the satellite for the image compression encoder of different sampling formats is different.

[0116] In one or more embodiments of the present specification, the target number of encoding channels of the image compression encoder is one. The corresponding sampling format of the present embodiment may be 4:2:0 or 4:2:2. Of course, the image compression encoder may also be other sampling formats. As long as it can be determined that the number of encoding channels that are not downsampled is one according to the sampling format, the method of the present embodiment is applicable.

[0117] In this embodiment, because the number of the target coding channel is one, only one spectrum segment graph can be compressed at a time through the target coding channel of the image compression encoder. Figure 3 A compression flow chart when the number of target channels is one is provided in the embodiment of this specification, such as Figure 3 As shown, this embodiment can be specifically implemented through the following steps S200~S204.

[0118] S200: For each spectrum segment graph, the all-zero graph is input into each non-target coding channel respectively, and the spectrum segment graph is input into the target coding channel.

[0119] S202: compressing the spectrum segment graph through the image compression encoder to obtain compressed sub-data of the spectrum segment graph.

[0120] S204: Determine the compressed data of the remote sensing image according to the compressed sub-data of each spectral segment graph.

[0121] The image compression encoder compresses the images input by the three encoding channels at the same time. Since the non-target encoding channel inputs an all-zero image, the principle of compressing the image is usually to remove redundant information in the image. Since all pixel values ​​of the all-zero image contain the same information, the amount of data after compression will be very small. Therefore, even for the adaptive image compression encoder, when compressing remote sensing images, the all-zero image that is not originally contained in the remote sensing image is input together for compression, which has little impact on the amount of data of the final compressed data.

[0122] Figure 4 The embodiments of this specification provide corresponding to Figure 3 The compression process diagram will be combined with Figure 4 The image compression process of this embodiment is described. Figure 4 In the figure, the blank rectangle represents the spectrum segment graph, and the shaded rectangle represents the zero graph. The remote sensing image is composed of 6 spectrum segment graphs. Figure 4 The ellipsis in indicates that the compression process of the four spectral bands is omitted. Because the image compression encoder in this embodiment has only one target encoding channel, the satellite uses the spectral band and two all-zero images as the input of the image compression encoder in a compression process for each spectral band. Among them, the spectral band is input into the target encoding channel, and the two all-zero images are respectively input into two non-target encoding channels. Then, the satellite can obtain the compressed sub-data corresponding to the spectral band output by the image compression encoder. After the satellite obtains the compressed sub-data corresponding to all six spectral bands, the compressed data of the remote sensing image can be determined.

[0123] based on Figure 2 The compression method of the satellite-borne remote sensing image shown in the figure is to adapt to the compression principle of the image compression encoder, compress the spectrum image using the encoding channel that does not perform downsampling, and input the full zero image into the encoding channel that performs downsampling, so that the image compression sensor can compress the remote sensing image acquired by the satellite-borne sensor, solving the compatibility problem between the satellite-borne sensor and the image compression sensor. At the same time, because the encoding channel that does not perform downsampling in the image compression encoder is used as the target encoding channel, the original image information in the spectrum image is retained to the maximum extent while compressing.

[0124] In the above step S104, when the satellite determines that the number of target encoding channels of the image compression encoder is three according to the configuration of the image compression encoder, this specification provides another corresponding embodiment of spectral segment map compression, and the corresponding sampling format of this embodiment can be 4:4:4.

[0125] In this embodiment, because the number of target coding channels is three, that is, the three coding channels of the image compression encoder are all coding channels without downsampling, the satellite does not need to determine the all-zero image, and can compress the three spectral band images at one time through the three target coding channels of the image compression encoder respectively.

[0126] Figure 5 A compression flow chart when the number of target channels is three is provided in the embodiment of this specification, such as Figure 5 As shown, this embodiment can be specifically implemented through the following steps S300~S306.

[0127] S300: Grouping the spectral images into groups of three to obtain spectral image groups.

[0128] S302: For each spectral image group, three spectral images included in the spectral image group are input into each target encoding channel respectively.

[0129] S304: compressing the three spectral images through the encoding channels of the image compression encoder to obtain compressed sub-data of the spectral image group.

[0130] S306: Determine the compressed data of the remote sensing image according to the compressed sub-data of each spectral image group.

[0131] Figure 6 The embodiments of this specification provide corresponding to Figure 5 The compression process diagram will be combined with Figure 6 The image compression process of this embodiment is described. Figure 6 In the figure, the blank rectangle represents the spectrum image, and the three rectangles contained by the dotted line represent a spectrum image group. Figure 6 The remote sensing image in is composed of 6 spectral band images, and 2 spectral band image groups can be determined.

[0132] Because the encoding channels of the image compression encoder in this embodiment are all target encoding channels, the satellite uses the three spectral maps contained in each spectral image group as input of a compression process, and inputs the three spectral maps contained in the spectral image group into three target encoding channels respectively to obtain compressed sub-data of the spectral image group. Figure 6 In the corresponding compression scenario, the satellite determines the compressed data of the remote sensing image based on the compressed sub-data of the two spectral image groups.

[0133] Because the number of target coding channels is three, the satellite can compress the three spectral images at the same time through the image compression encoder to obtain compressed sub-data of the spectral image group containing the three spectral images. Therefore, compared with the embodiment described in S200 to S204 when there is only one target coding channel, the compression efficiency of this embodiment is higher.

[0134] In the above step S204 or S306, the satellite may splice the compressed sub-data of each spectral image or the compressed sub-data of each spectral image group to determine the compressed data of the remote sensing image.

[0135] Considering that the compressed data needs to be split into compressed sub-data again after being transmitted to the ground receiving station, a decompression operation is performed on each compressed sub-data.

[0136] In one embodiment, in order to facilitate the segmentation of the ground receiving station, the satellite can splice the compressed sub-data according to the determined order of the compressed sub-data and according to the preset separator, so that the separator serves as the boundary between two adjacent compressed sub-data. When the ground receiving station performs the segmentation operation, it can determine the compressed sub-data contained in the compressed data by identifying the separator.

[0137] Of course, splicing by delimiter is not the only method. In another embodiment, the compressed sub-data are directly spliced ​​according to the determined order of the compressed sub-data to obtain compressed data. Similarly, in order to facilitate the segmentation of the ground receiving station, the satellite can determine the number of bytes occupied by each compressed sub-data, and transmit the determined number of bytes to the ground receiving station according to the determined order of each compressed sub-data, so that the ground receiving station can re-segment the compressed data into each compressed sub-data according to the number of bytes of each compressed sub-data.

[0138] In the above step S104, the satellite needs to input each spectrum band image into the target encoding channel of the image compression encoder. Since the existing system-on-chip image compression encoder is adapted to the camera sensor, the pixel bit depth corresponding to the image compression encoder is equal to the pixel bit depth of the RGB image collected by the camera sensor.

[0139] Pixel bit depth refers to the number of binary bits that each pixel can store. The higher the pixel bit depth, the larger the color range that the pixel can represent, the richer the color levels or grayscale levels, the more information the corresponding image contains, and the higher the image quality.

[0140] For example, in an image with a pixel depth of 2, the pixel value of each pixel in the image is only possible values. In another image with a pixel depth of 8, the pixel value of each pixel in the other image is Obviously, the color level of the image represented by the other image will be richer.

[0141] The remote sensing images collected by the satellite's onboard sensors usually contain more information, that is, the pixel bit depth of the onboard sensors is usually higher than the pixel bit depth of the camera sensor, which results in the image compression encoder adapted to the camera sensor not being adapted to the satellite's onboard sensors. The pixel bit depth of the onboard sensors is inconsistent with the pixel bit depth of the image compression encoder, and the image compression encoder cannot process the remote sensing images collected by the onboard sensors.

[0142] Therefore, before compressing the spectrum image through the image compression encoder, the satellite adjusts the pixel bit depth of the spectrum image to adapt to the pixel bit depth of the image compression encoder.

[0143] The satellite determines the pixel bit depth of the onboard sensor as the first bit depth, and determines the pixel bit depth of the encoding channel of the image compression encoder as the second bit depth according to the configuration of the image compression encoder. For each spectral segment, the original pixel value of each pixel in the spectral segment is adjusted from the numerical range corresponding to the first bit depth to the numerical range corresponding to the second bit depth to obtain the mapping corresponding to the spectral segment, and then each mapping obtained after the bit depth adjustment is input into the target encoding channel respectively.

[0144] There are many methods for adjusting the bit depth. In one embodiment of the present specification, the satellite performs bit depth adjustment through one mapping.

[0145] Specifically, the satellite determines the depth difference between the first bit depth and the second bit depth, takes 2 as the base, takes the depth difference as the exponent, performs a power operation, and determines the mapping ratio. For each pixel in the spectral band image, the original pixel value of the pixel is divided by the mapping ratio to obtain the mapped pixel value of the pixel. According to the mapped pixel values ​​of each pixel in the spectral band image, the mapping image corresponding to the spectral band image is determined.

[0146] Since data is stored in binary in a computer, the division operation performed in the above step of dividing the original pixel value of the pixel by the mapping ratio is equivalent to shifting the original pixel value of the pixel to the left by the number of binary bits corresponding to the depth difference. When shifting to the left, each left shift is equivalent to reducing the pixel precision by one binary bit.

[0147] In this process, pixel information is lost. When the compressed data of the remote sensing image is transmitted to the ground receiving station, the lost pixel information can only be restored by extending the bit depth after decompression, that is, adding a number of 0s corresponding to the depth difference to the end of the restored pixel value obtained after decompression of the pixel, and the last number of binary bits corresponding to the depth difference in the original pixel value may not be all 0. Therefore, the pixel information lost in the bit depth adjustment of this embodiment is difficult to recover, which affects the image quality of the remote sensing image obtained after decompression.

[0148] For example, the pixel bit depth of the satellite sensor, that is, the first bit depth, is 16, and the pixel bit depth of the encoding channel of the image compression encoder, that is, the second bit depth, is 8. When the bit depth adjustment method provided by this embodiment is used to adjust the bit depth of the original pixel value of a pixel in the spectrum segment image, if the binary representation of the original pixel value of the pixel is , then after bit depth adjustment, the mapped pixel value of the pixel is It can be seen that the mapped pixel value loses the low 8-bit pixel information of the original pixel value compared to the original pixel value. When the ground receiving station adjusts the bit depth of the decompressed image again to restore the pixel value of the original remote sensing image before compression, the pixel value of the pixel can only be restored to .

[0149] In order to reduce the loss of pixel information during the bit depth adjustment process so that the remote sensing image obtained after decompression by the ground receiving station can retain the pixel information of the uncompressed remote sensing image to the maximum extent, this specification provides another embodiment of the bit depth adjustment.

[0150] In another embodiment, the satellite performs bit depth adjustment through two mappings, that is, the satellite first normalizes the pixel value of each pixel in the spectrum segment image, and then maps the normalized value to the value range corresponding to the second bit depth.

[0151] The following will be combined Figure 7 The bit depth adjustment method of this embodiment is described. Figure 7 A schematic diagram of a process of bit depth adjustment provided in an embodiment of this specification specifically includes steps S400 to S410.

[0152] S400: Determine a maximum pixel value and a minimum pixel value from the original pixel values ​​of each pixel in the spectrum segment image, and transmit the maximum pixel value and the minimum pixel value to a ground receiving station.

[0153] The maximum pixel value and the minimum pixel value determined by the satellite will be used in the normalization process after the satellite. The satellite transmits the maximum pixel value and the minimum pixel value to the ground receiving station so that the ground receiving station can use the maximum pixel value and the minimum pixel value for the decompression process. In the decompression process, the pixel value adjusted to the second bit depth can be restored to the pixel value corresponding to the first bit depth according to the maximum pixel value and the minimum pixel value, so that the restored pixel value is as equal to the original pixel value as possible, reducing the loss of pixel information.

[0154] S402: For each pixel in the spectrum segment image, determine a first mapping value after the original pixel value of the pixel is normalized according to the maximum pixel value, the minimum pixel value and the original pixel value of the pixel.

[0155] First, the satellite determines the difference between the maximum pixel value and the minimum pixel value as a first difference, and determines the difference between the original pixel value of the pixel and the minimum pixel value as a second difference.

[0156] Secondly, the satellite determines a first mapping value after the original pixel value of the pixel is normalized according to the ratio of the second difference to the first difference.

[0157] Specifically, the satellite can normalize the original pixel value according to the following formula:

[0158]

[0159] in, Indicates the first The first mapping value after the original pixel value of pixels is normalized, Indicates the first The original pixel value of pixels, Indicates the maximum pixel value in the spectrum. Indicates the minimum pixel value in the spectrum segment.

[0160] After normalization, the satellite maps the original pixel value of the pixel to Within the interval of , the satellite determines the normalized ratio of the original pixel of the pixel according to the first difference. This process is a linear mapping and almost no pixel information is lost.

[0161] In addition, because the numerical range of each original pixel value in the normalized spectral graph becomes smaller, the storage space occupied by the normalized spectral graph will also be reduced accordingly. Since the subsequent steps in this embodiment will be processed based on the normalized spectral graph, in order to save storage space, the satellite can only store the normalized spectral graph.

[0162] S404: Determine, according to the first mapping value and the second bit depth, a second mapping value adjusted to a value range corresponding to the second bit depth.

[0163] The satellite performs a power operation with 2 as the base and the second bit depth as the exponent to determine the mapping ratio. The second mapping value corresponding to the pixel is determined according to the product of the mapping ratio and the first mapping value.

[0164] Specifically, the satellite may determine the second mapping value according to the following formula:

[0165]

[0166] in, Indicates the first The second mapping value corresponding to the original pixel value of pixels, Indicates the second bit depth.

[0167] Because the normalization step S402 is a division operation, a first mapping value of a decimal value may be obtained. However, when the first mapping value is a decimal value, it can be basically converted into an integer value through the multiplication operation of this step. When this embodiment is used to adjust the bit depth, there is almost no loss of pixel information.

[0168] Alternatively, the satellite may also set the first mapping value to a value of a specified decimal precision to ensure that after the first mapping value is re-mapped by the multiplication operation in S404, a second mapping value of an integer value is obtained.

[0169] S406: Determine a mapped pixel value corresponding to the pixel according to the second mapped value.

[0170] S408: Determine a mapping graph corresponding to the spectrum segment graph according to the mapping pixel value corresponding to each pixel in the spectrum segment graph.

[0171] The satellite uses the second mapping value corresponding to the pixel as the mapping pixel value of the pixel, and determines the mapping image corresponding to the spectrum image according to the mapping pixel values ​​corresponding to each pixel in the spectrum image.

[0172] Need to explain, Figure 3 What is shown is only one implementation of this embodiment. The normalization corresponding steps in this embodiment can also be implemented by other normalization methods, such as Z-Score normalization method, that is, S400~S402 can be replaced by steps corresponding to other normalization operations.

[0173] However, it should be noted that if other normalization methods are used, the data transmitted by the satellite in step S400 for the ground receiving station to restore the pixel value corresponding to the first bit depth should also be adjusted to the value required for the inverse operation corresponding to the normalization method.

[0174] The compression method of this specification is applied in a space environment. There is a large amount of radiation from charged particles in the space environment, which can easily cause single-particle flipping in semiconductor devices on satellites, resulting in changes in the logic circuit state of the semiconductor devices, that is, causing the originally stored "0" to become "1", or the originally stored "1" to become "0".

[0175] When a single particle flip occurs in the storage unit of the on-chip system during the image compression process, the compressed data obtained in step S104 will be erroneous. The remote sensing image obtained by the ground receiving station after decompressing the compressed data will be inconsistent with the remote sensing image collected by the satellite before compression, and the compressed data may even be damaged, making it impossible for the ground receiving station to perform the decompression operation.

[0176] If a specially customized aerospace-grade device is used to compress satellite remote sensing images, special materials that resist single-particle upsets can be used to reduce the occurrence of single-particle upsets, because the system-on-chip containing the image compression encoder used in this specification is an existing COTS device. Therefore, in order to increase the fault tolerance of the compression method of this specification and reduce the impact of the single-particle upset phenomenon on the compressed data of remote sensing images, this specification provides another compression method.

[0177] Figure 8 A flowchart of another satellite-borne image compression method provided in an embodiment of this specification is shown in FIG. Figure 8 As shown, the method specifically comprises the following steps:

[0178] S500: Repeat the method described in steps S100 to S104 according to a preset number of repetitions to obtain compressed data of the remote sensing image of the number of repetitions.

[0179] S502: Determine the number of bytes occupied by each compressed data.

[0180] As mentioned above Figure 1 The encoding principle of the image compression encoder is that during the encoding process, the image compression encoder simplifies the representation of each segment of continuous zero pixel values ​​according to the number of each segment of continuous zero pixel values ​​in the pixel value sequence.

[0181] Then, if a single particle upset occurs, the image compression encoder may increase or decrease the pixel value sequence of each spectral segment in the process of compressing each spectral segment, causing the number or position of zero pixel values ​​in the pixel value sequence to change, resulting in the number of bytes of the compressed data obtained being different from the number of bytes of the compressed data that should be obtained when the single particle upset does not occur. Therefore, the satellite can obtain the compressed data corresponding to each compression process by repeatedly performing multiple compression processes, and compare the number of bytes of each compressed data to determine whether a single particle upset has occurred during the compression process.

[0182] Specifically, the satellite may repeatedly execute the compression method described in the above steps S100 to S104 according to a preset number of repetitions, and each execution process determines the compressed data of a remote sensing image and the number of bytes occupied by each compressed data.

[0183] S504: Among the byte numbers, determine the number of compressed data with the same byte number as the credible number.

[0184] S506: Determine whether the credible number is greater than the preset number, if so, execute step S508, if not, execute step S510.

[0185] S508: Transmit any compressed data among the compressed data with the same number of bytes to the ground receiving station.

[0186] S510: Discard the compressed data obtained, and repeat the method described in the above steps S100 to S104 according to the repetition number.

[0187] If the number of compressed data with the same number of bytes in the byte numbers of compressed data determined by the repeatedly executed compression processes, that is, the credible number, is greater than a preset value, it is considered that no single particle upset phenomenon occurs in the compression process corresponding to the compressed data with the same number of bytes, and these compressed data with the same number of bytes are credible. The satellite will transmit any compressed data with the same number of bytes to the ground receiving station.

[0188] If the credible number is not greater than the preset value, it is considered that a single particle upset has occurred during the repeated compression process, and the compressed data determined by each compression process are unreliable. The satellite discards the compressed data determined by each compression process and does not transmit the compressed data.

[0189] Then, the satellite repeats the compression method described in steps S100 to S104 according to a preset number of repetitions until reliable compressed data that can be transmitted to the ground receiving station is determined. That is, the satellite jumps back to step S500 and re-executes the method described in steps S500 to S510.

[0190] The preset number is a value less than or equal to the number of repetitions. The larger the preset number, the stronger the credibility of the compressed data to be transmitted, and the smaller the preset number, the weaker the credibility of the compressed data to be transmitted. The specific value of the preset number can be set according to specific compression requirements.

[0191] The methods described in S500 to S510 above may be set in different execution modes according to different configurations of the system on chip.

[0192] If the system on chip cannot process in parallel, the repeated execution process in S500 can be executed sequentially to determine the compressed data of each compression process in turn. If the system on chip is a multi-core processor structure, the repeated execution process in S500 can be executed in parallel to determine the compressed data of each compression process at the same time to improve the execution efficiency.

[0193] For example, if the system on chip is a multi-core processor structure, the number of repetitions is 3 and the preset number is 2. The satellite executes the above methods in S500-S510 in parallel through the system on chip, and simultaneously obtains three compressed data of the remote sensing image. Then, the satellite determines the number of bytes occupied by each compressed data. If there are two or three compressed data with the same number of bytes, it is considered that these compressed data with the same number of bytes are credible, and the satellite transmits any compressed data with the same number of bytes.

[0194] This specification also provides a decompression method corresponding to the compression method of the satellite-borne remote sensing image described in S100 to S104 above, and the method is applied to a ground receiving station.

[0195] Fig. 9 The flowchart of a method for decompressing satellite-borne remote sensing images in this specification is as follows. The ground receiving station includes an image compression decoder corresponding to the satellite image compression encoder. The decoding channels of the image compression decoder include a brightness channel, a blue chrominance channel, and a red chrominance channel. Fig. 9 As shown, the method specifically comprises the following steps:

[0196] S600: receiving compressed data transmitted from a satellite, wherein the compressed data is obtained according to the satellite-borne remote sensing image compression method described in S100 to S104.

[0197] After the ground receiving station receives the compressed data transmitted by the satellite, it needs to decompress the compressed data to restore the remote sensing images collected by the satellite.

[0198] S602: According to the configuration of the image compression decoder, determine a decoding channel corresponding to an encoding channel that is not downsampled in the image compression encoder as a target decoding channel.

[0199] The image compression decoder contains three decoding channels, namely the brightness channel, the blue chroma channel and the red chroma channel. The three decoding channels correspond to the three encoding channels of the image compression encoder. The compression operation performed through an encoding channel needs to be decompressed through the decoding channel corresponding to the encoding channel in order to restore the compressed data.

[0200] according to Figure 2 In the compression method shown, in step S104, the satellite inputs the all-zero map into the non-target coding channel and inputs each spectral segment map into the target coding channel respectively. Therefore, during the decompression process, the ground receiving station determines the target decoding channel corresponding to the target coding channel to obtain the decompressed spectral segment map of the target decoding channel.

[0201] S604: Decompress the compressed data through each decoding channel of the image compression decoder, and determine the restored image corresponding to each decoding channel.

[0202] When decompressing at the ground receiving station, the ground receiving station decompresses the compressed data through the image compression decoder. When decompressing, the image compression decoder outputs the restored image corresponding to each decoding channel.

[0203] S606: Determine the decompressed remote sensing image according to the restored image corresponding to the target decoding channel.

[0204] Because during the compression process, the spectrum image is input into the target coding channel and the all-zero image is input into the non-target coding channel. Therefore, during the decompression process, the restored image corresponding to the target decoding channel is the spectrum image after decompression by the ground receiving station, while the restored image corresponding to the non-target decoding channel is the all-zero image after decompression.

[0205] The ground receiving station reads the decompression result of the target decoding channel and determines the decompressed remote sensing image according to the restoration image corresponding to the target decoding channel.

[0206] During the compression process, the satellite uses the coding channel that is not downsampled in the image compression encoder as the target coding channel and compresses the spectral band map through the target coding channel. Therefore, during the encoding process of the spectral band map, there is no loss of pixel information due to downsampling. The ground receiving station can well restore the remote sensing images collected by the satellite sensor.

[0207] In the above step S604, when the satellite determines the compressed data through the embodiments corresponding to S200 to S204 or S300 to S306, the compressed data is spliced ​​by each compressed sub-data.

[0208] A compressed sub-data is the result of a compression performed by the image compression encoder. When decompressing at the ground receiving station, the compressed data needs to be divided into compressed sub-data so that each compressed sub-data can be decompressed separately by the image compression decoder. If the compressed data contains a preset delimiter, the ground receiving station identifies each compressed sub-data by identifying the delimiter.

[0209] The ground receiving station decompresses each compressed sub-data through an image compression decoder to determine the restoration image of each decoding channel corresponding to the compressed sub-data.

[0210] When the number of target encoding channels of the image compression encoder is one, the number of corresponding target decoding channels in the image compression decoder of the ground receiving station is also one, that is, the satellite determines the compressed data according to the method described in S200~S204.

[0211] Correspondingly, during decompression, the ground receiving station determines, for each compressed sub-data, a restored image of each decoding channel corresponding to the compressed sub-data, which includes a decompressed spectrum segment image and two decompressed all-zero images.

[0212] When the number of target encoding channels of the image compression encoder is three, the number of corresponding target decoding channels in the image compression decoder of the ground receiving station is also one, that is, the satellite determines the compressed data according to the method described in S300~S306.

[0213] Correspondingly, during decompression, the ground receiving station determines, for each compressed sub-data, that the restored graph of each decoding channel corresponding to the compressed sub-data includes three decompressed spectrum segment graphs.

[0214] In one or more embodiments of the present specification, the pixel value of each pixel in the spectral band diagram of the target coding channel of the image compression encoder input to the satellite has been adjusted in bit depth. The ground receiving station needs to restore the decompressed image to the pixel bit depth before adjustment to restore the remote sensing image collected by the satellite sensor.

[0215] The image compression decoder of the ground receiving station is adapted to the image compression encoder of the satellite. The ground receiving station determines the pixel bit depth of the image compression decoder as the third bit depth according to the configuration of the image compression decoder. The pixel bit depth of the decoding channel of the image compression decoder is the same as the pixel bit depth of the encoding channel of the image compression encoder, that is, the third bit depth is equal to the second bit depth.

[0216] In the above step S606, the pixel values ​​in the restored image corresponding to the target decoding channel determined by the ground receiving station are the numerical range corresponding to the pixel bit depth of the image compression encoder, that is, the ground receiving station determines the decompression result of the mapping image of the spectrum segment image after the bit depth is adjusted based on the restored image corresponding to the target decoding channel.

[0217] Then, the ground receiving station adjusts the pixel value of each pixel in the decompressed mapping image from the numerical range corresponding to the third bit depth to the numerical range corresponding to the first bit depth, determines the decompressed spectral band map corresponding to the decompressed mapping image, and determines the decompressed remote sensing image based on each decompressed spectral band map.

[0218] In one embodiment of the present specification, the satellite performs bit depth adjustment through one mapping, and the ground receiving station determines the restored pixel value of each pixel in the decompressed mapping image according to the product of the pixel value and the mapping ratio, and determines the decompressed spectral band image corresponding to the decompressed mapping image according to the restored pixel value of each pixel.

[0219] Here, the method for determining the mapping ratio used by the ground receiving station for decompression is the same as the method for determining the mapping ratio in the compression method corresponding to the bit depth adjustment performed by the satellite through one mapping.

[0220] In another embodiment of the present specification, the pixel value of each pixel in the spectrum image of the target coding channel of the image compression encoder input to the satellite is normalized and the bit depth is adjusted. That is, the satellite is mapped twice, according to Figure 7 The ground receiving station adjusts the bit depth according to the method shown. Fig.10 The method shown performs bit depth restoration.

[0221] Fig.10 A schematic diagram of a process of bit depth restoration method provided in an embodiment of this specification is shown in FIG. Fig.10 As shown, the method specifically comprises the following steps:

[0222] S700: Receive the maximum pixel value and the minimum pixel value transmitted by the satellite.

[0223] The ground receiving station receives the maximum pixel value and the minimum pixel value transmitted by the satellite in step S400 for inverse normalization operation to perform bit depth restoration.

[0224] S702: For the pixel value of each pixel in the decompressed mapping image, determine the restored pixel value corresponding to the pixel value according to the maximum pixel value, the minimum pixel value, the third bit depth and the pixel value of the pixel, as the restored pixel value of the pixel.

[0225] The ground receiving station determines the first difference value according to the difference value between the maximum pixel value and the minimum pixel value received. The mapping ratio is determined by performing a power operation with 2 as the base and the third bit depth as the exponent. Since the third bit depth is the same as the second bit depth, the mapping ratio determined by the ground receiving station in this embodiment is the same as the mapping ratio determined by the satellite.

[0226] Then, the ground receiving station determines a first intermediate value for each pixel in the decompressed mapping image based on the ratio of the pixel value to the mapping ratio, determines a second intermediate value based on the product of the first intermediate value and the first difference, and determines the restored pixel value of the pixel based on the sum of the second intermediate value and the minimum pixel value.

[0227] Specifically, the restored pixel value can be determined according to the following formula:

[0228]

[0229]

[0230]

[0231] in, The first The pixel value of pixels, The first The first median value of pixels, The first The second median value of pixels, Indicates the third bit depth.

[0232] The bit depth restoration process of this embodiment includes restoration of two mappings. During the satellite compression process, in order to save storage space, the satellite needs to store the normalized spectrum segment map, so it is necessary to first perform the first mapping process corresponding to the normalization.

[0233] When decompressing at the ground receiving station, there is no restriction on the execution order of restoring the first mapping and restoring the second mapping. The first mapping can be restored first, or the second mapping can be restored first, or the first mapping and the second mapping can be restored at the same time.

[0234] In one implementation, the ground receiving station may simultaneously restore the first mapping and the second mapping according to the following formula:

[0235]

[0236] S704: Determine a decompressed spectrum segment image corresponding to the mapping image according to the restored pixel value corresponding to each pixel of the decompressed mapping image.

[0237] The restored pixel value is the pixel value adjusted to the numerical range corresponding to the first bit depth. After the ground receiving station determines the restored pixel value, it obtains the decompressed remote sensing image with the same bit depth as the remote sensing image collected by the satellite.

[0238] The remote sensing image decompressed by the method of this embodiment retains the bit depth of the remote sensing image collected by the satellite sensor and the original pixel information in each spectrum segment image, and the image quality is high.

[0239] Based on the same idea, this manual provides Figure 2 The satellite-borne remote sensing image compression method and the corresponding satellite-borne remote sensing image compression device are applied to a satellite, and the satellite's on-chip system includes an image compression encoder, and the encoding channels of the image compression encoder include a brightness channel, a blue chrominance channel, and a red chrominance channel, such as Fig.11 shown.

[0240] Fig.11 A schematic diagram of a satellite-borne remote sensing image compression device provided in this specification specifically includes:

[0241] An acquisition module 800 is used to acquire a remote sensing image composed of a plurality of spectral images collected by a satellite-borne sensor;

[0242] The target coding channel determination module 802 is used to determine, according to the configuration of the image compression encoder, a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determine a coding channel that performs downsampling as a non-target coding channel;

[0243] The compression module 804 is used to construct an all-zero map composed of zero pixel values ​​according to the size of the remote sensing image, and input the all-zero map into the non-target coding channel, and input each spectral segment map into the target coding channel respectively, so as to compress each spectral segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station.

[0244] Optionally, the compression module 804 is specifically used to determine the pixel bit depth of the satellite-borne sensor as the first bit depth, and according to the configuration of the image compression encoder, determine the pixel bit depth of the encoding channel of the image compression encoder as the second bit depth, and for each spectral segment graph, adjust the original pixel value of each pixel in the spectral segment graph from the numerical range corresponding to the first bit depth to the numerical range corresponding to the second bit depth to obtain a mapping graph corresponding to the spectral segment graph, and input each mapping graph into the target encoding channel respectively.

[0245] Optionally, the compression module 804 is specifically used to determine the maximum pixel value and the minimum pixel value among the original pixel values ​​of each pixel in the spectral segment map, transmit the maximum pixel value and the minimum pixel value to the ground receiving station, and for each pixel in the spectral segment map, determine a first mapping value after normalization of the original pixel value of the pixel according to the maximum pixel value, the minimum pixel value and the original pixel value of the pixel, determine a second mapping value adjusted to a numerical range corresponding to the second bit depth according to the first mapping value and the second bit depth, determine a mapping pixel value corresponding to the pixel according to the second mapping value, and determine a mapping map corresponding to the spectral segment map according to the mapping pixel values ​​corresponding to each pixel in the spectral segment map.

[0246] Optionally, the number of the target coding channels is one, and the number of the non-target coding channels is two, and the compression module 804 is specifically used to input the all-zero image into each non-target coding channel for each spectral segment graph, input the spectral segment graph into the target coding channel, compress the spectral segment graph through the image compression encoder to obtain compressed sub-data of the spectral segment graph, and determine the compressed data of the remote sensing image according to the compressed sub-data of each spectral segment graph.

[0247] Optionally, the number of the target coding channels is three, and the compression module 804 is specifically used to group the spectral band graphs into groups of three to obtain spectral band image groups, and for each spectral band image group, the three spectral band graphs contained in the spectral band image group are respectively input into the target coding channels, and the three spectral band graphs are compressed through the encoding channels of the image compression encoder to obtain compressed sub-data of the spectral band image group; and the compressed data of the remote sensing image is determined according to the compressed sub-data of each spectral band image group.

[0248] Optionally, the compression module 804 is specifically used to repeatedly execute the above-mentioned satellite remote sensing image compression method according to a preset number of repetitions, obtain the compressed data of the remote sensing image of the repeated number, determine the number of bytes occupied by each compressed data, and among each number of bytes, determine the number of compressed data with the same number of bytes as a credible number, and judge whether the credible number is greater than the preset number. If so, any compressed data among the compressed data with the same number of bytes is transmitted to the ground receiving station. If not, discard the obtained compressed data, and repeat the above-mentioned satellite remote sensing image compression method again according to the repeated number.

[0249] This manual provides Fig. 9 The satellite-borne remote sensing image compression method and corresponding satellite-borne remote sensing image compression device are applied to a ground receiving station. The ground receiving station includes an image compression decoder corresponding to the satellite image compression encoder. The decoding channels of the image compression decoder include a brightness channel, a blue chrominance channel and a red chrominance channel. Fig.12 shown.

[0250] Fig.12 A schematic diagram of a decompression device for satellite-borne remote sensing images provided in this specification specifically includes:

[0251] The receiving module 900 is used to receive compressed data transmitted from the satellite, wherein the compressed data is obtained according to the above-mentioned method for compressing satellite-borne remote sensing images;

[0252] A target decoding channel determination module 902 is used to determine, according to the configuration of the image compression decoder, a decoding channel corresponding to an encoding channel that does not perform downsampling in the image compression encoder as a target decoding channel;

[0253] A decompression module 904, configured to decompress the compressed data through each decoding channel of the image compression decoder, and determine a restored image corresponding to each decoding channel;

[0254] The remote sensing image determination module 906 is used to determine the decompressed remote sensing image according to the restoration image corresponding to the target decoding channel.

[0255] Optionally, the pixel value of each pixel in the spectral segment diagram of the target coding channel of the image compression encoder input to the satellite is adjusted in bit depth. The remote sensing image determination module 906 is specifically used to determine the pixel bit depth of the satellite's onboard sensor as the first bit depth, and determine the pixel bit depth of the image compression decoder as the third bit depth according to the configuration of the image compression decoder. The third bit depth is the same as the pixel bit depth of the image compression encoder of the satellite. According to the restoration map corresponding to the target decoding channel, each decompressed mapping map is determined. For each decompressed mapping map, the pixel value of each pixel in the decompressed mapping map is adjusted from the numerical range corresponding to the third bit depth to the numerical range corresponding to the first bit depth, and the decompressed spectral segment diagram corresponding to the mapping map is determined. According to each decompressed spectral segment diagram, a decompressed remote sensing image is determined.

[0256] Optionally, the pixel value of each pixel in the spectral segment diagram of the target coding channel of the image compression encoder input into the satellite is normalized and the bit depth is adjusted. The remote sensing image determination module 906 is specifically used to receive the maximum pixel value and the minimum pixel value transmitted downlink from the satellite, and for each pixel value in the decompressed mapping map, determine the restored pixel value corresponding to the pixel value according to the maximum pixel value, the minimum pixel value, the third bit depth and the pixel value of the pixel, as the restored pixel value of the pixel, and determine the decompressed spectral segment diagram corresponding to the mapping map according to the restored pixel values ​​corresponding to each pixel of the mapping map.

[0257] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 2 Compression method of satellite-borne remote sensing images provided or Fig. 9 The decompression method of satellite-borne remote sensing images is provided.

[0258] This manual also provides Fig.13 The schematic structure diagram of the electronic device shown in FIG. Fig.13 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 2 Compression method of satellite-borne remote sensing images provided or Fig. 9 The decompression method of the satellite-borne remote sensing image is provided. Of course, in addition to the software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0259] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0260] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0261] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0262] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0263] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0264] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0265] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0266] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0267] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0268] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0269] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0270] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0271] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0272] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0273] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0274] The above description is only an embodiment of this specification and is not intended to limit this specification. For those skilled in the art, this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims of this application.

Claims

1. A method for compressing satellite-borne remote sensing images, characterized in that: The method is applied to a satellite, wherein the system on chip of the satellite comprises an image compression encoder, and the encoding channels of the image compression encoder comprise a brightness channel, a blue chrominance channel, and a red chrominance channel. The method comprises: Acquire a remote sensing image composed of a plurality of spectral images collected by a satellite-borne sensor; According to the configuration of the image compression encoder, determining a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determining a coding channel that performs downsampling as a non-target coding channel; According to the size of the remote sensing image, construct an all-zero map composed of zero pixel values, input the all-zero map into the non-target coding channel, and input each spectrum segment map into the target coding channel respectively, so as to compress each spectrum segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station; The step of inputting each spectrum segment graph into the target coding channel specifically includes: Determining a pixel bit depth of the onboard sensor as a first bit depth; Determining, according to the configuration of the image compression encoder, a pixel bit depth of an encoding channel of the image compression encoder as a second bit depth; For each spectrum segment graph, adjusting the original pixel value of each pixel in the spectrum segment graph from the numerical range corresponding to the first bit depth to the numerical range corresponding to the second bit depth, so as to obtain a mapping graph corresponding to the spectrum segment graph; Each mapping diagram is input into the target encoding channel respectively.

2. The method according to claim 1, characterized in that Obtaining the mapping diagram corresponding to the spectrum segment diagram specifically includes: Determine a maximum pixel value and a minimum pixel value among the original pixel values ​​of each pixel in the spectrum segment image, and transmit the maximum pixel value and the minimum pixel value to the ground receiving station; For each pixel in the spectrum segment image, determining a first mapping value after the original pixel value of the pixel is normalized according to the maximum pixel value, the minimum pixel value and the original pixel value of the pixel; Determine, according to the first mapping value and the second bit depth, a second mapping value adjusted to a value range corresponding to the second bit depth; Determining a mapped pixel value corresponding to the pixel according to the second mapped value; According to the mapping pixel values ​​corresponding to the pixels in the spectrum segment image, a mapping image corresponding to the spectrum segment image is determined.

3. The method according to claim 1, characterized in that The number of the target coding channels is one, and the number of the non-target coding channels is two; Inputting the all-zero image into the non-target coding channel and inputting each spectrum segment image into the target coding channel respectively, so as to compress each spectrum segment image through the image compression encoder to determine the compressed data of the remote sensing image, specifically including: For each spectrum segment graph, the all-zero graph is input into each non-target coding channel respectively, and the spectrum segment graph is input into the target coding channel; The spectrum segment graph is compressed by the image compression encoder to obtain compressed sub-data of the spectrum segment graph; The compressed data of the remote sensing image is determined according to the compressed sub-data of each spectral segment graph.

4. The method according to claim 1, characterized in that The number of target encoding channels is three; Inputting the all-zero image into the non-target coding channel and inputting each spectrum segment image into the target coding channel respectively, so as to compress each spectrum segment image through the image compression encoder to determine the compressed data of the remote sensing image, specifically including: Grouping the spectral images into groups of three to obtain spectral image groups; For each spectral image group, the three spectral images contained in the spectral image group are input into each target encoding channel respectively; The three spectral images are compressed by each encoding channel of the image compression encoder to obtain compressed sub-data of the spectral image group; The compressed data of the remote sensing image is determined according to the compressed sub-data of each spectral image group.

5. The method according to claim 1, characterized in that The method further comprises: Repeating the method according to any one of claims 1 to 4 according to a preset number of repetitions to obtain compressed data of the remote sensing image of the number of repetitions; Determine the number of bytes occupied by each compressed data; Among the byte numbers, determine the number of compressed data with the same byte number as the credible number; Determining whether the credible number is greater than the preset number; If so, any compressed data among the compressed data having the same number of bytes is transmitted to the ground receiving station; If not, discard the compressed data obtained, and repeat the method described in any one of claims 1 to 4 according to the repetition number.

6. A method for decompressing satellite-borne remote sensing images, characterized in that: The method is applied to a ground receiving station, the ground receiving station comprises an image compression decoder corresponding to an image compression encoder of a satellite, a decoding channel of the image compression decoder comprises a brightness channel, a blue chrominance channel and a red chrominance channel, and the method comprises: Receiving compressed data transmitted from a satellite, wherein the compressed data is obtained by the method according to any one of claims 1 to 5; According to the configuration of the image compression decoder, determining a decoding channel corresponding to an encoding channel that is not downsampled in the image compression encoder as a target decoding channel; Decompressing the compressed data through each decoding channel of the image compression decoder to determine a restored image corresponding to each decoding channel; The decompressed remote sensing image is determined according to the restored image corresponding to the target decoding channel.

7. The method according to claim 6, characterized in that The pixel value of each pixel in the spectral segment image of the target coding channel input to the image compression encoder of the satellite is adjusted in bit depth; Determining the decompressed remote sensing image according to the restored image corresponding to the target decoding channel specifically includes: Determining a pixel bit depth of a satellite-borne sensor as a first bit depth; Determining, according to the configuration of the image compression decoder, a pixel bit depth of the image compression decoder as a third bit depth, wherein the third bit depth is the same as a pixel bit depth of an image compression encoder of the satellite; Determining each decompressed mapping graph according to the restored graph corresponding to the target decoding channel; For each decompressed map, adjusting the pixel value of each pixel in the decompressed map from the value range corresponding to the third bit depth to the value range corresponding to the first bit depth, and determining a decompressed spectrum segment map corresponding to the map; The decompressed remote sensing image is determined according to each decompressed spectral segment graph.

8. The method according to claim 7, characterized in that The pixel value of each pixel in the spectral segment image of the target coding channel input to the image compression encoder of the satellite is normalized and the bit depth is adjusted; The method further comprises: adjusting the pixel value of each pixel in the decompressed map from the value range corresponding to the third bit depth to the value range corresponding to the first bit depth, and determining the decompressed spectrum segment map corresponding to the map. Receiving the maximum pixel value and the minimum pixel value transmitted by the satellite; For each pixel value of the decompressed mapping image, determine, according to the maximum pixel value, the minimum pixel value, the third bit depth, and the pixel value of the pixel, a restored pixel value corresponding to the pixel value as the restored pixel value of the pixel; According to the restored pixel values ​​corresponding to the pixels of the mapping image, a decompressed spectrum segment image corresponding to the mapping image is determined.

9. A device for compressing satellite-borne remote sensing images, characterized in that: The device is applied to a satellite, the system on chip of the satellite includes an image compression encoder, the encoding channels of the image compression encoder include a brightness channel, a blue chrominance channel and a red chrominance channel, and the device includes: An acquisition module is used to acquire a remote sensing image composed of a plurality of spectral images collected by a satellite-borne sensor; a target coding channel determination module, which determines, according to the configuration of the image compression encoder, a coding channel that does not perform downsampling in the image compression encoder as a target coding channel, and determines a coding channel that performs downsampling as a non-target coding channel; A compression module, according to the size of the remote sensing image, constructs an all-zero map composed of zero pixel values, and inputs the all-zero map into the non-target coding channel, and inputs each spectrum segment map into the target coding channel respectively, so as to compress each spectrum segment map through the image compression encoder, determine the compressed data of the remote sensing image, and transmit the compressed data to the ground receiving station; The step of inputting each spectrum segment graph into the target coding channel specifically includes: Determining a pixel bit depth of the onboard sensor as a first bit depth; Determining, according to the configuration of the image compression encoder, a pixel bit depth of an encoding channel of the image compression encoder as a second bit depth; For each spectrum segment graph, adjusting the original pixel value of each pixel in the spectrum segment graph from the numerical range corresponding to the first bit depth to the numerical range corresponding to the second bit depth, so as to obtain a mapping graph corresponding to the spectrum segment graph; Each mapping diagram is input into the target encoding channel respectively.

10. A decompression device for satellite-borne remote sensing images, characterized in that: The device is applied to a ground receiving station, the ground receiving station comprises an image compression decoder corresponding to an image compression encoder of a satellite, a decoding channel of the image compression decoder comprises a brightness channel, a blue chrominance channel and a red chrominance channel, and the device comprises: A receiving module, receiving compressed data transmitted from a satellite, wherein the compressed data is obtained by the method according to any one of claims 1 to 5; a target decoding channel determination module, which determines, according to the configuration of the image compression decoder, a decoding channel corresponding to an encoding channel that is not downsampled in the image compression encoder as a target decoding channel; A decompression module, decompressing the compressed data through each decoding channel of the image compression decoder, and determining a restored image corresponding to each decoding channel; The remote sensing image determination module determines the decompressed remote sensing image according to the restoration image corresponding to the target decoding channel.

11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of claims 1 to 8 is implemented.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method described in any one of claims 1 to 8 is implemented.