| Arithmetic Coding This compression is quite similar to Huffman, because it search for the
quite same kind of content to compress, the different are the way it process
the source and instead of giving bit value for each symbol it uses probability
value for each symbol. It is based on probability between 0 (zero) to
1 (one). This method use a simple math calculation, and this simple calculation
resulted in the best compression ratio. It requires 5 variables for the encoding, they are RANGE, LOW, HIGH,
LR (Low Range) and HR (High Range).
The output value is 0,400975. Decoding:
Note: as characters to encode increasing then the calculation is more
complicated Tips: because we have to store the last value of LOW, it is better if we sort the symbol and put the highest frequent symbol on the top, a zero value of LOW will resulted in a smaller value of the final value of LOW This compression method is the best compression available as this writing, if we use(combine) arbitrary precision than we can compress the whole content within one loop, but how do we store the last floating point for decoding later? because we may have 3000 digits decimal value, also this will add the time needed for encoding and decoding. If we can use small enough space for this last value then this method could be the only method needed to compress data. If we use arbitrary precision, this method can be done recursively, because we can compress random data. This mean we can compress any (big) file size to a small (probably fixed) size. But what is the use, if we need, perhaps, one day or 6 hours to encode and also to decode the data, because we can just straigh download it for the same time amount needed, right? that is right, but we can have an ultimate recursive lossless compression, which can compress any data to small size, we save space! maybe one floppy (1.44MB) for two or more hours of decompress audio-video entertainment, goverments or any company do not need bulky media storage for historical record. Maybe when we have a super computer with very fast CPU/FPU or maybe if we have a special chip (hardware) for encoding for decoding then we can use (apply) this compression method. Maybe later in the future we can find another simpler math calculation that we can exploit to compress data, without the need of huge computing resources like this method. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Author
Site Map Disclaimer
HMaxF Ultimate Recursive Lossless Compression Research 2001 - 2002 (c) All Rights Reserved. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||