File:Arithmetic coding visualisation.svg
Summary
Encoding the message "WIKI" with arithmetic coding
1. | The letter frequencies are found. |
---|---|
2. | The interval [0, 1) is partitioned in the ratio of the frequencies. |
3–5. | The corresponding interval is iteratively partitioned for each letter in the message. |
6. | Any value in the final interval is chosen to represent the message. |
2*–6*. | The partitioning and value if the message were "KIWI" instead. |
Description |
English: Visualisation of the use of arithmetic coding to encode the message "WIKI" by CMG Lee. Step 1: The frequencies of the letters are found. Step 2: The interval [0, 1) is partitioned in the ratio of the frequencies. Steps 3 to 5: the corresponding interval is iteratively partitioned for each letters in the message. Step 6: Any value in the final interval is chosen to represent the message. Steps 2* to 6*: The partitioning and value if the message were "KIWI" instead. |
Source | Own work |
Author | Cmglee |
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
You may select the license of your choice.