Compensation method for low-gray-scale narrow-dynamic-range imaging data of optical satellite load
Through adaptive level shift preprocessing technology, it solves the problem of narrow dynamic range imaging data of optical remote sensing satellites due to lighting conditions, improves compression performance and image recovery quality, is highly adaptable, and does not change the original compression algorithm, achieving a better Efficient data compression and decompression effects.
Patent Information
- Application Number
- CN202410860311.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The imaging data captured by optical remote sensing satellites at different solar altitude angles have different lighting conditions, resulting in narrow dynamic range and low entropy value, which affects the wavelet quantization coding performance of the on-board compression algorithm, resulting in poor quality of ground decompression and recovery images.
Adaptive level shift preprocessing technology is used to move the overall distribution of the DN value of the original image data to the center of the quantization bit range, and perform compression processing on the planet before compression, and insert the level shift value into the compressed code stream. The original value is restored after decompression to realize pre-processing and post-processing of image data.
It improves the wavelet quantization coding performance of the on-board compression algorithm, reduces the coding complexity, improves the image recovery quality, has strong adaptability without changing the original compression algorithm and protocol format, has low computational complexity, and can be flexibly adapted to different compression methods.
Smart Images

Figure CN118741120A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of optical remote sensing satellite data processing and transmission system, and is suitable for satellite system design that configures optical payloads and realizes onboard compression functions. Background Art
[0002] Different local times and solar altitude angles of descending nodes of optical remote sensing satellites will lead to different solar illumination conditions and reflections of ground objects. The illumination intensity of the onboard optical detector will make the imaging data characteristics different. The onboard raw image data obtained by the payload imaging mission with poor illumination conditions at the time of imaging has a concentrated distribution of image DN values, a very narrow dynamic range and a very small entropy value, which is not conducive to wavelet quantization coding processing in the onboard compression algorithm.
[0003] Taking 10-bit as an example, when the dynamic range of DN values of more than 80% of the pixels in the image is within 300, the performance of wavelet quantization coding in the on-board compression algorithm will be reduced, resulting in poor quality of the image restored by ground decompression. Summary of the invention
[0004] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art and provide an on-orbit dynamic compensation method, which greatly reduces the amplitude of wavelet coefficients, reduces the number of planes that need to be encoded, and the distribution of pre-processed data is more conducive to entropy coding, further improving compression performance.
[0005] The technical solution of the present invention is: a compensation method for low grayscale and narrow dynamic range imaging data of an optical satellite payload, comprising:
[0006] Before on-board compression, the payload raw image data is preprocessed in the spatial domain;
[0007] The pre-processed image data is compressed on-board to obtain compressed code stream data and transmit it downstream;
[0008] After receiving the compressed code stream data transmitted from the satellite, the ground will decompress and post-process it to obtain the final decompressed and restored image.
[0009] The spatial domain preprocessing includes: by adaptive level shifting, the overall distribution of the DN value of the original image of the load is moved to the center of the DN value range of the corresponding quantization bit number, thereby changing the distribution characteristics of the DN value of the original image of the load and obtaining a preprocessed image.
[0010] The adaptive level shifting is used to move the overall distribution of the DN value of the load original image to the center of the DN value range of the corresponding quantization bit number, including: caching the load original image data according to the image quantization bit number parameter obtained through external instructions and the preset image compression block size, summing the cached load original image data according to the pixel DN value, dividing by the number of pixels, and calculating the DN value mean of the load original image block; calculating the level shift value according to the image quantization bit number and the DN value mean of the load original image block, and shifting the DN value of the load original image block by adding the level shift value to obtain the preprocessed image block.
[0011] Adaptive level shifting means that the level shift value of each image is adaptively determined according to the number of payload quantization bits, and then the entire image is level shifted accordingly. After changing the characteristics of the original image data on board, the shifted image is compressed using the original compression method on board.
[0012] The on-board compression processing of the pre-processed image data to obtain compressed code stream data includes: compressing the pre-processed image data to generate initial compressed code stream data; inserting a level shift value in a position agreed in a frame header format of the obtained initial compressed code stream to obtain final compressed code stream data.
[0013] After receiving the compressed code stream data transmitted from the satellite, the ground performs decompression and post-processing, including: decompressing the compressed code stream data to obtain a decompressed image; extracting a level shift value from the position agreed in the initial compressed code stream frame header format, subtracting the level shift value from the DN value of the decompressed image, and obtaining the final decompressed and restored image.
[0014] When the level shift value is subtracted from the DN value of the decompressed image, if the calculated result is a negative number, the DN value of the calculated result is clamped to 0 to obtain the final decompressed and restored image.
[0015] The low grayscale refers to a DN value range of the image that is less than 255.
[0016] The narrow dynamic range means that the difference range of the image DN value within the compressed block range is between 100-200.
[0017] The advantages of the present invention compared with the prior art are:
[0018] 1. Reduce the impact of the illumination conditions on the distribution characteristics of the original image data of the optical payload satellite when it is in orbit due to the descending node, and improve the wavelet quantization coding processing performance of the compression algorithm;
[0019] 2. The image preprocessing process is simple and flexible to operate, without adding additional satellite configuration resources. The image spatial domain preprocessing is achieved through the internal software design of the configured onboard hardware resources;
[0020] 3. No need to change the original compression algorithm and protocol format, strong adaptability. Only need to be completed on the ground, low calculation complexity;
[0021] 4. The adaptive level shift preprocessing algorithm is flexible and can adapt to the original compression method, mean adaptive level shift method, median adaptive level shift method, block mean adaptive level shift method, and fixed level shift method, realizing flexible expansion of system functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a system block diagram of the present invention. DETAILED DESCRIPTION
[0023] like Figure 1 As shown, the present invention provides a compensation method for low grayscale and narrow dynamic range imaging data of an optical satellite payload, comprising:
[0024] Before on-board compression, the payload raw image data is preprocessed in the spatial domain;
[0025] The pre-processed image data is compressed on-board to obtain compressed code stream data and transmit it downstream;
[0026] After receiving the compressed code stream data transmitted from the satellite, the ground will decompress and post-process it to obtain the final decompressed and restored image.
[0027] The spatial domain preprocessing includes: by adaptive level shifting, the overall distribution of the DN value of the original image of the load is moved to the center of the DN value range of the corresponding quantization bit number, thereby changing the distribution characteristics of the DN value of the original image of the load and obtaining a preprocessed image.
[0028] The adaptive level shifting is used to move the overall distribution of the DN value of the load original image to the center of the DN value range of the corresponding quantization bit number, including: caching the load original image data according to the image quantization bit number parameter obtained through external instructions and the preset image compression block size, summing the cached load original image data according to the pixel DN value, dividing by the number of pixels, and calculating the DN value mean of the load original image block; calculating the level shift value according to the image quantization bit number and the DN value mean of the load original image block, and shifting the DN value of the load original image block by adding the level shift value to obtain the preprocessed image block.
[0029] Adaptive level shifting means that the level shift value of each image is adaptively determined according to the number of payload quantization bits, and then the entire image is level shifted accordingly. After changing the characteristics of the original image data on board, the shifted image is compressed using the original compression method on board.
[0030] The on-board compression processing of the pre-processed image data to obtain compressed code stream data includes: compressing the pre-processed image data to generate initial compressed code stream data; inserting a level shift value in a position agreed in a frame header format of the obtained initial compressed code stream to obtain final compressed code stream data.
[0031] After receiving the compressed code stream data transmitted from the satellite, the ground performs decompression and post-processing, including: decompressing the compressed code stream data to obtain a decompressed image; extracting a level shift value from the position agreed in the initial compressed code stream frame header format, subtracting the level shift value from the DN value of the decompressed image, and obtaining the final decompressed and restored image.
[0032] When the level shift value is subtracted from the DN value of the decompressed image, if the calculated result is a negative number, the DN value of the calculated result is clamped to 0 to obtain the final decompressed and restored image.
[0033] The low grayscale refers to a DN value range of the image that is less than 255.
[0034] The narrow dynamic range means that the difference range of the image DN value within the compressed block range is between 100-200.
[0035] The payload original image data takes 10-bit quantization bit width as an example. The specific implementation steps are as follows:
[0036] 1) Before on-board compression, count the mean m of each image e ;
[0037] The level shift value s is:
[0038] s=1024-m,m=m e
[0039] 2) Perform level shift on the original image X according to the level shift value s to obtain the preprocessed image
[0040] Like Y, image spatial domain preprocessing is achieved, namely:
[0041] Y=X+s
[0042] 3) Compress the shifted image Y by n times according to 11 bits to obtain compressed code stream data.
[0043] Write to the location agreed upon in the compressed code stream format.
[0044] 4) At the ground decoding end, decompression is performed to obtain the decompressed image Perform the corresponding reverse shift, that is
[0045]
[0046] Get the final decompressed and restored image
[0047] For image sets of various types and different characteristics (see Table 1 below for details), compression tests were performed using the original compression method, fixed 1024 level shifting, mean adaptive level shifting, median adaptive level shifting, and block mean adaptive level shifting methods.
[0048] Table 1 Description of various test items
[0049]
[0050] Comprehensive test analysis results: adding image spatial domain preprocessing before compression has no effect on the quality of decompressed and restored images; the average PSNR (peak signal-to-noise ratio) is increased by 3dB, and the MSE (mean square error) is reduced by 37.5%.
Claims
1. A method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload, characterized in that: include: Before on-board compression, the payload raw image data is preprocessed in the spatial domain; The pre-processed image data is compressed on-board to obtain compressed code stream data and transmit it downstream; After receiving the compressed code stream data transmitted from the satellite, the ground will decompress and post-process it to obtain the final decompressed and restored image.
2. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 1, characterized in that: The spatial domain preprocessing includes: by adaptive level shifting, the overall distribution of the DN value of the original image of the load is moved to the center of the DN value range of the corresponding quantization bit number, thereby changing the distribution characteristics of the DN value of the original image of the load and obtaining a preprocessed image.
3. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 1, characterized in that: The adaptive level shifting is used to move the overall distribution of the DN value of the load original image to the center of the DN value range of the corresponding quantization bit number, including: caching the load original image data according to the image quantization bit number parameter obtained through external instructions and the preset image compression block size, summing the cached load original image data according to the pixel DN value, dividing by the number of pixels, and calculating the DN value mean of the load original image block; calculating the level shift value according to the image quantization bit number and the DN value mean of the load original image block, and shifting the DN value of the load original image block by adding the level shift value to obtain the preprocessed image block.
4. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 2 or 3, characterized in that: Adaptive level shifting means that the level shift value of each image is adaptively determined according to the number of payload quantization bits, and then the entire image is level shifted accordingly. After changing the characteristics of the original image data on board, the shifted image is compressed using the original compression method on board.
5. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 1, characterized in that: The on-board compression processing of the pre-processed image data to obtain compressed code stream data includes: compressing the pre-processed image data to generate initial compressed code stream data; inserting a level shift value in a position agreed in a frame header format of the obtained initial compressed code stream to obtain final compressed code stream data.
6. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 4, characterized in that: After receiving the compressed code stream data transmitted from the satellite, the ground performs decompression and post-processing, including: decompressing the compressed code stream data to obtain a decompressed image; extracting a level shift value from the position agreed in the initial compressed code stream frame header format, subtracting the level shift value from the DN value of the decompressed image, and obtaining the final decompressed and restored image.
7. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 6, characterized in that: When the level shift value is subtracted from the DN value of the decompressed image, if the calculated result is a negative number, the DN value of the calculated result is clamped to 0 to obtain the final decompressed and restored image.
8. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 1, characterized in that: The low grayscale refers to a DN value range of the image that is less than 255.
9. The method for compensating low grayscale and narrow dynamic range imaging data of an optical satellite payload according to claim 1, characterized in that: The narrow dynamic range means that the difference range of the image DN value within the compressed block range is between 100-200.
Citation Information
Patent Citations
Method and device for encoding a high-dynamic range image
CN105850123A
Area-array camera remote sensing imaging method and device
CN111986134A
Display device
CN113808540A
Image processing method and device, electronic equipment, storage medium and product
CN115205168A
Coding imaging star sensor and dynamic measurement precision improving method and system
CN117553778A
