A method and system for image lossless compression
A lossless compression and image technology, applied in the field of image processing, can solve the problems of reduced compression rate, slow decoding speed, low compression rate, etc., to achieve the effect of guaranteed compression rate and convenient transplantation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0095] {0,0,0,0,0,0,0,0,0,0,0,0,
[0096] 2,2,2,2,2,2,2,2,2,
[0097] 4,4,4,4,4,4,
[0098] 8,8,8,8,
[0099] 16, 32, 33, 34}
[0100] It consists of 12 0s, 8 2s, 6 4s, 4 8s, and 1 16, 32, 33, 34 respectively. First put the symbol with the smallest probability
[0101] The text symbol table at this time becomes 12 8s, 8 2s, 6 4s, 4 8s, and 2 A and B respectively. selector again
[0103] If the left branch of the Huffman tree is represented by bit=1, and the right branch is represented by bit=0, then the final obtained
[0105]
[0107] Input: treeLenth: the height of the tree, that is, the number of layers
[0109] Count the number of leaf nodes of each layer, to the array perRankNum[]
[0110] Starting from the bottom of the Huffman tree, calculate the initial value of the self-increment, and save it to the array perRankVal[]
[0111] startValue=0;
[0112] for n=treeLenth: 1;
[0113] per RankVal[n]=startValue;
[0114] startValue=startValue+perRankNum[n]
[0115] startValue=st...
example 2
[0119] Let the top node be the 0th layer, then count the number of leaf nodes, when they are the second layer, 3 leaf nodes and 1 in the third layer
[0122]
[0124] 1) Define a cost value, and the tree keeps changing structure in the direction of decreasing cost value.
[0126]
[0130]
[0134] S43, decode using the compressed encoding table and encoded data.
[0139]
[0143]
[0144] ZSTD uses the above weights to describe the encoding table, and reconstructs the original Huffman table at the decoding end. it uses
[0147]
[0148]
[0151] {0...0,1,0,0,0,0,0,0,1,0,0,2,1,0,1,0,3,0,5,0 ,1,6,0,2,3,0,1,0,1,1,
[0153] {(41,0),(1,1),(6,0),(1,1),(2,0),(1,2),(1,1),(1,0 ),1,0,3,0,5,0,1,6,0,
[0154] A total of 34 bytes, plus the encoded value of 32 bytes, a total of 66 bytes. Compared with FSE, it is compressed to 48 words
[0155] It should be noted that the following will prove the effectiveness of the fusion algorithm of the present invention by means of experimental verificat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com