Improving distribution and flexible quantization for DCT coefficients

07/23/2020
by   Jarek Duda, et al.
0

While it is a common knowledge that AC coefficients of Fourier-related transforms, like DCT-II of JPEG image compression, are from Laplace distribution, there was tested more general EPD (exponential power distribution) ρ∼(-(|x-μ|/σ)^κ) family, leading to maximum likelihood estimated (MLE) κ≈ 0.5 instead of Laplace distribution κ=1 - such replacement gives ≈ 0.1 bits/value mean savings (per pixel for grayscale, up to 3× for RGB). There is also discussed predicting distributions (as μ, σ, κ parameters) for DCT coefficients from already decoded coefficients in the current and neighboring DCT blocks. Predicting values (μ) from neighboring blocks allows to reduce blocking artifacts, also improve compression ratio - for which prediction of uncertainty/width σ alone provides much larger ≈ 0.5 bits/value mean savings opportunity (often neglected). Especially for such continuous distributions, there is also discussed quantization approach through optimized continuous quantization density function q, which inverse CDF (cumulative distribution function) Q on regular lattice {Q^-1((i-1/2)/N):i=1… N} gives quantization nodes - allowing for flexible inexpensive choice of optimized (non-uniform) quantization - of varying size N, with rate-distortion control. Optimizing q for distortion alone leads to significant improvement, however, at cost of increased entropy due to more uniform distribution. Optimizing both turns out leading to nearly uniform quantization here, with automatized tail handling.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset