|
Sort and Swap Sort and Swap technique is used to make smaller ASCIIs value occur more often then bigger ASCIIs value. This technique is also supposedly making file content more compressible like Flattening, the compression methods which take advantage of this technique are Variable Bit Count (VBC) and Grouping. The other methods, such as RLE, Huffman, Sliding Window, and LZW do not take any advantage of the this technique, because they do not take advantage of smaller ASCII value. This technique is simple to encode and decode, but it has a small dictionary or bytes to be stored in the resulted target, this is used for later in decoding. The encoding and decoding algorithm is very simple, just a few steps: Encoding algorithm:
Decoding algorithm:
That's it, very easy really. You got any question about this technique ? or maybe suggestion ? please contact me.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author
Site Map Disclaimer
HMaxF Ultimate Recursive Lossless Compression Research 2001 - 2003 (c) All Rights Reserved. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||