Re: decode Truncated binary encoding
- From: Stefano Brocchi <stefano.brocchi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Apr 2008 02:41:59 -0700 (PDT)
On Apr 27, 1:59 pm, "LiloLilo" <danilobrambi...@xxxxxxxxxx> wrote:
OK. This makes Truncated binary encoding userful only for quite long
sequences of words, because then I need to add one more word at the
beginning of the transmission with value of n, or almost the value of u =
2^k - 3 which is always 1 bit shorter then n.
For example, if I have a very short sequence of words, say 4 words, with an
alpabeth of n = 10, using standard binary I would need 16 bits. Using
Truncated binary encoding I would need 3 bits to transmit u, then from 3 to
4 bits to transmit each of the 4 words, and this makes quite always a longer
stream.
Yes, that's right. Another case where it could be useful is where
limitations on the values can be deduced by the context, as in the
case of a series of decreasing integers.
So long,
Stefano
.
- References:
- decode Truncated binary encoding
- From: LiloLilo
- Re: decode Truncated binary encoding
- From: Stefano Brocchi
- Re: decode Truncated binary encoding
- From: LiloLilo
- decode Truncated binary encoding
- Prev by Date: Re: Understanding JPEG technology in a nutshell
- Next by Date: Re: DCT of an 8x8 matrix?
- Previous by thread: Re: decode Truncated binary encoding
- Next by thread: DCT of an 8x8 matrix?
- Index(es):
Relevant Pages
|
|