Question

Given a row of pixel: [12 12 18 15 16 17 18 18], use the following two prediction models and set of quantization parameters to calculate distortion metrics SAD (sum of

absolute difference) between original and reconstructed pixel values. a. Prediction model 1: copy the previous pixel. QP: (2, 4, 6, 8, 10, 12} b. Prediction model 2: average of two previous pixels. QP: (2, 4, 6, 8, 10, 12)

Fig: 1