| |
 |
|
|
Science Forum Index » Compression Forum » Practical implementations of arithmetic coding
Page 1 of 1
|
| Author |
Message |
| John Gilbert |
Posted: Thu Apr 24, 2008 2:43 pm |
|
|
|
Guest
|
Hi Folks,
I'm having some difficulty reading Howard & Vitter's 'practical
implementations of arithmetic coding' (http://www.gvu.gatech.edu/
~jarek/courses/7491/Arithmetic2.pdf). I'm immediately confused when I
start reading section 3.1 (reduced precision arithmetic coding).
Hopefully someone here can help me figure out what background context
I've managed to miss for reading this?
When they first refer to states, what are they? Initially I assumed
they were the set of all valid intervals in the range [0,n) (which
I've worked out to be (n^2 + n)/2 rather than the 3N^2/16 that they
list as the number of possible states -- For example: assuming n = 2,
I expected that we would have the following valid states [0,1), [0,2),
[1,2). )
In example 4, they say that the table at the bottom is made by
straightforward application of arithmetic coding -- but I have no idea
where that table has come from :-/ (as an aside, presumably the p in
the table is the probability of a 0, but that leaves me confused as to
what the alpha parameter is.).
What background do I need to read this paper, other than a good
understanding of the integer implementation of an arithmetic coder?
Thanks,
John G. |
|
|
| Back to top |
|
| biject |
Posted: Fri Apr 25, 2008 6:41 am |
|
|
|
Guest
|
On Apr 24, 6:43 pm, John Gilbert <gilbe...@gmail.com> wrote:
Quote: Hi Folks,
I'm having some difficulty reading Howard & Vitter's 'practical
implementations of arithmetic coding' (http://www.gvu.gatech.edu/
~jarek/courses/7491/Arithmetic2.pdf). I'm immediately confused when I
start reading section 3.1 (reduced precision arithmetic coding).
Hopefully someone here can help me figure out what background context
I've managed to miss for reading this?
When they first refer to states, what are they? Initially I assumed
they were the set of all valid intervals in the range [0,n) (which
I've worked out to be (n^2 + n)/2 rather than the 3N^2/16 that they
list as the number of possible states -- For example: assuming n = 2,
I expected that we would have the following valid states [0,1), [0,2),
[1,2). )
In example 4, they say that the table at the bottom is made by
straightforward application of arithmetic coding -- but I have no idea
where that table has come from :-/ (as an aside, presumably the p in
the table is the probability of a 0, but that leaves me confused as to
what the alpha parameter is.).
What background do I need to read this paper, other than a good
understanding of the integer implementation of an arithmetic coder?
Thanks,
John G.
Just think of it as using a close guess at the true ratios.
Adaptive
Huffman is the extreme reduced precision arithmetic. Even when using
the standard methods you really are using a reduced precision
arithmetic
its hard to get a probaility of 1/3 but using 85/256 is close.
What they do is try to make regions to reduce the math and its works
pretty good for speed. Not that hard to extend there method to make it
fully bijective if one wanted to.
You really don't need a back ground other than common sense and
simple airhmetic. Look at Marks code first and "take your time and
think"
If you get though Marks and Howards chck out by arb255 an extreme
verion
of arithmetic.
You really have to think for yourslef to get the big picture.
David A. Scott
--
My Crypto code
http://bijective.dogma.net/crypto/scott19u.zip
http://www.jim.com/jamesd/Kong/scott19u.zip old version
My Compression code http://bijective.dogma.net/
**TO EMAIL ME drop the roman "five" **
Disclaimer:I am in no way responsible for any of the statements
made in the above text. For all I know I might be drugged.
As a famous person once said "any cryptograhic
system is only as strong as its weakest link" |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Fri Oct 10, 2008 3:14 pm
|
|