Deonstration of Image compression using PCA
Here I have demonstrated a simple python script to perform image compression using the PCA algorithim.I have used sklearn for the PCA implementation.
This script will work for graysacle or multichannel images.
Tested for .png images.