-
Home
- An introduction to source-coding
- Transform coding
- Optimal bit allocation
For transform coding with a fixed total bit rate, the optimal (SNR-maximizing) allocation of bit rates is derived.
-
Motivating Question: Assuming that
T is an
orthogonal matrix,
what is the MSE-optimal bitrate allocation strategy assumingindependent uniform quantization of the transform outputs?
In other words, what
minimize average reconstruction
error for fixed average rate
?
- Say that the
element of the transformed output vector
has variance
.
With uniform quantization,
example 1 from Background and Motivation showed that the
quantizer error power is
where
R
k is the bit rate allocated to the
quantizer output
and where
depends on the distribution of
y
k .
From this point on we make the simplifying assumption that
is independent of
k .
As shown in
example 1 from Background and Motivation , orthogonal matrices imply that the
mean squared reconstruction error equals the mean squared quantizationerror, so that
Thus we have the constrained optimization problem
Using the Lagrange technique, we first set
Since
, the
zero derivative implies
Hence
so that
Rewriting
[link] and plugging in the expression above,
- The optimal bitrate allocation expression
[link] (lower equation) is meaningful
only when
, and practical only for
integer numbers of quantization levels
(or practical values of
R
ℓ for a particular coding scheme).
Practical strategies typically
- set
to when
[link] (lower equation) suggests that the optimal
R
ℓ is negative,
- round positive
R
ℓ to practical values, and
- iteratively re-optimize
using these rules until
all
R
ℓ have practical values.
- Plugging
[link] (lower equation) into
[link] , we find that optimal
bit allocation implies
which means that, with optimal bit allocation, each coefficient
contributes equally to reconstruction error.(Recall a similar property of the Lloyd-Max quantizer.)
Source:
OpenStax, An introduction to source-coding: quantization, dpcm, transform coding, and sub-band coding. OpenStax CNX. Sep 25, 2009 Download for free at http://cnx.org/content/col11121/1.2
Google Play and the Google Play logo are trademarks of Google Inc.