This is a small project that demonstrates how to compress an image using Singular Value Decomposition (SVD).
The main script, run_image_compression.m, loads an image, converts it to a matrix, and then computes a lower-rank approximation to compress it. It also generates a few plots to show the result and analyze the compression error.
- Download the files.
- Make sure arches.bmp and the function files are in the same folder.
- Open MATLAB and run the run_image_compression.m script.