Spatial Prediction 1

Pick a predictor, then explore how quantization level and step size change reconstruction quality.

Original image
Original demo image

Grayscale reference (7.52 bit/pixel entropy).

Prediction error

Prediction error
Reconstructed image
Reconstructed demo image

Predictor weights

Values applied to already-known neighbours (S marks the current pixel).

0
0
0
0
0
0
0
0
0
Quantization error (scaled)
Quantization error

Contrast-stretched for visibility.

Statistics

Entropy reduction, compression, and quality after quantization.

Entropy
Compression
SNR
PSNR