File:Arithmetic coding example.svg

Original file (SVG file, nominally 1,052 × 744 pixels, file size: 41 KB)

Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

Summary

Description
English: An arithmetic coding example assuming a fixed probability distribution of three Symbols "A","B" and "C".

An arithmetic coding example assuming a fixed probability distribution of three Symbols "A","B" and "C". Probability of "A" is 50%, probability of "B" is 33% and probability of "C" is 17%. Furthermore we assume that the recursion depth is known in each step. In step one we code "B" which is inside of the interval [0.5,0.83): The binary number "0.10x" is the shortest code that represents an Interval that is entirely inside of [0.5,0.83). "x" represents here an arbitrary bit sequence. There are two extreme cases: the smallest x stands for an infinite number of zeros which represents the left side of the represented Interval. Then the left side of the Interval is dec(0.10)=0.5. The greatest x stands for an infinite number of ones which gives a number that converges towards dec(0.11)=0.75 Therefore "0.10x" represents the Interval [0.5,0.75) which is inside of [0.5,0.83)

Now we can leave out the "0." part since all Intervals begin with "0." and we can ignore the x because no matter what Bit-sequence it represents, we will stay inside of [0.5,0.75)
Date
Source Own work
Author Evolution124

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

14 May 2012

image/svg+xml

43debff7f90cd997c8e51ae907bc7630e2fb939e

49,726 byte

744 pixel

1,052 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:08, 30 October 2023Thumbnail for version as of 22:08, 30 October 20231,052 × 744 (41 KB)PhlosioneerFixed typo in bottom-left: 0.11011 becomes 0.110011
13:49, 28 May 2012Thumbnail for version as of 13:49, 28 May 20121,052 × 744 (49 KB)Evolution124{{Information |Description ={{en|1=An arithmetic coding example assuming a fixed probability distribution of three Symbols "A","B" and "C". Probability of "A" is 50%, probability ob "B" is 33% and probability of "C" is 17%. Furthermore we assume tha...

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata