Project 5

Part 2: JPEG Quantization

Paul McNulty

In this section, we were asked to do the same thing but using the JPEG suggested quantization matrix and a loss parameter of p=1. The matrix is given by: \[Q_y=p\begin{bmatrix} 16 & 11 & 10 & 16 & 24 & 40 & 51 & 61 \\ 12 & 12 & 14 & 19 & 26 & 58 & 60 & 55 \\ 14 & 13 & 16 & 24 & 40 & 57 & 69 & 56 \\ 14 & 17 & 22 & 29 & 51 & 87 & 80 & 62 \\ 18 & 22 & 37 & 56 & 68 & 109 & 103 & 77 \\ 24 & 35 & 55 & 64 & 81 & 104 & 113 & 92 \\ 49 & 64 & 78 & 87 & 103 & 121 & 120 & 102 \\ 72 & 92 & 95 & 98 & 112 & 100 & 103 & 99 \end{bmatrix}.\]

The code for the 8x8 case is exactly the same as before, but for the entire image I used the code jpgsug.m. The images are displayed below.

Home Part 1 Part 3 Part 4