An image-compression experiment in Python and NumPy. Keep fewer principal components, reconstruct the image, and measure what changes: detail, error, and actual file size. The PCA is implemented with ...
The algorithm works by starting with an empty image and incrementally adding detail where it is important. At the beginning the compressed image is filled with the average color of the original image.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results