This program utilizes singular value decomposition (SVD) to compress and decompose 3-channel color images through the following technical steps: Compression Process: 1. Select sub-image size K to decompose the image into M×M sub-images (IMG(s), s=1,2,...,M², where M=N/K, original image size N×N). 2. Calculate average of M² sub-images and subtract mean from each sub-image. 3. Compute correlation matrix R with elements defined by covariance relationships. 4. Calculate eigenvalues/eigenvectors of R, then obtain compressed encoding via dot products between sub-images and principal eigenvectors. Implementation features eigenvalue-based dimension reduction for efficient color channel processing.
MATLAB
264 views
Tagged