What is Spatial Compression?
Spatial compression reduces redundancy within a single image or video frame. It represents neighboring samples, blocks, prediction residuals, or frequency components more efficiently without relying on other frames.
How Spatial Compression works
Intra-frame coding exploits correlation among nearby samples by predicting blocks from surrounding pixels or transforming image energy into coefficients. Quantization then represents less visually significant information with lower precision, and entropy coding removes statistical redundancy from the symbols. Because each frame can use these techniques independently, spatial coding also underpins still-image formats and video keyframes. It is applied during mastering, mezzanine creation, and delivery encoding alongside any temporal prediction.
Key facts
- Block transforms concentrate smooth image content into relatively few low-frequency coefficients, while sharp edges and texture require more high-frequency values to preserve their appearance.
- Prediction errors at block boundaries can become visible as blocking when coefficients are heavily quantized; deblocking filters may reduce the symptom but cannot recreate discarded detail.
- An intra-coded frame generally supports cleaner random access than a predicted frame because reconstruction does not require earlier or later pictures, though it usually consumes more bits.
When Spatial Compression matters
Adjust spatial compression when balancing per-frame detail against file size or bitrate. Strong quantization can save data but may introduce blocking, ringing, banding, or loss of fine texture.