Exercise 5a: First Prediction between Transform Blocks
DC Prediction (Goal: utilization of dependencies between blocks) Predict mean value of block using already coded and reconstructed neighboring samples Generation of Prediction Signal Implement a class for intra prediction with DC prediction being one method (note: we will add more prediction modes later) DC prediction: Generate prediction signal for a current block, with all samples being set to mean of left and top border samples Special cases: Only one border available: Use mean of that border No border available: Use 128 as mean value
current block
reconstructed border
Integration into Codec Encoder: Subtract prediction signal (instead of 128) before forward transform Decoder: Add prediction signal (instead of 128) after inverse transform Run simulations to check whether DC prediction improves coding efficiency
Heiko Schwarz (Freie Universität Berlin) — Image and Video Coding