From the 1D case, we observe that data compression can be achieved by exploiting the correlation between samples
This idea is applicable to 2D signals as well.
Instead of predicting sample values, we can use the so called transformation method to obtain a more compact representation
Discrete Cosine Transform (DCT)
DCT is the real part of the 2D Fourier Transform