Image compression with upsampling encodes information to succeedingly increase image resolution, for example by encoding differences in FUIF and JPEG XL. It is useful for progressive decoding, also often can improve compression ratio - both for lossless compression and e.g. DC coefficients of lossy. However, the currently used solutions rather do not exploit context dependence for encoding of such upscaling information. This article discusses simple inexpensive general techniques for this purpose, which allowed to save on average $0.645$ bits/difference (between $0.138$ and $1.489$) for the last upscaling for 48 standard $512\times 512$ grayscale 8 bit images - compared to assumption of fixed Laplace distribution. Using least squares linear regression of context to predict center of Laplace distribution gave on average $0.393$ bits/difference savings. The remaining savings were obtained by additionally predicting width of this Laplace distribution, also using just the least squares linear regression.
For RGB images, optimization of color transform alone gave mean $\approx 4.6\%$ size reduction comparing to standard YCrCb if using fixed transform, $\approx 6.3\%$ if optimizing transform individually for each image. Then further mean $\approx 10\%$ reduction was obtained if predicting Laplace parameters based on context. The presented simple inexpensive general methodology can be also used for different types of data like DCT coefficients in lossy image compression.
[1]
Jarek Duda,et al.
Exploiting statistical dependencies of time series with hierarchical correlation reconstruction
,
2018,
ArXiv.
[2]
Thomas R. Fischer,et al.
A pyramid vector quantizer
,
1986,
IEEE Trans. Inf. Theory.
[3]
Henryk Gurgul,et al.
Modelling bid-ask spread conditional distributions using hierarchical correlation reconstruction
,
2019,
Statistics in Transition New Series.
[4]
Pandu R. Tadikamalla,et al.
Random Sampling from the Exponential Power Distribution
,
1980
.
[5]
A. Haar.
Zur Theorie der orthogonalen Funktionensysteme
,
1910
.
[6]
Naomi S. Altman,et al.
Quantile regression
,
2019,
Nature Methods.
[7]
I. Barrodale.
L1 Approximation and the Analysis of Data
,
1968
.
[8]
Jarek Duda.
Parametric context adaptive Laplace distribution for multimedia compression
,
2019,
ArXiv.
[9]
Heiko Schwarz,et al.
Context-based adaptive binary arithmetic coding in the H.264/AVC video compression standard
,
2003,
IEEE Trans. Circuits Syst. Video Technol..
[10]
Guillermo Sapiro,et al.
The LOCO-I lossless image compression algorithm: principles and standardization into JPEG-LS
,
2000,
IEEE Trans. Image Process..
[11]
Jyrki Alakuijala,et al.
JPEG XL next-generation image compression architecture and coding tools
,
2019,
Optical Engineering + Applications.