Image Compression

Original Picture

Comparing the 8x8 Pixel Block

The image on the left is the original 8x8 pixel block, followed by p=1, p=2, and p=4 respectively.

Linear Quantization Vs JPEG (Gray)

p
1
2
4
Original
Linear
JPEG

Linear Quantization Vs Luminance/Color Difference

p
1
2
4
Original
Linear
YUV

SVD Compression
----
Original
SVD
2:1 (64)
4:1 (32)
8:1 (16)
16:1 (8)
32:1 (4)
64:1 (2)
100:1 (1)

Code used for this project:

For Linear, JPEG, and YUV

For SVD compression

To create matrix C