image_compress
代码说明:
本程序利用奇异值分解对3通道彩色图像进行压缩分解,具体步骤如下: 压缩过程: 1. 选取子图像大小K值,把图像分解成M×M个子图像,IMG(s),s=1,2,…, M2,其中M=N/K,原始图像IMG大小为N×N。 2. 计算这M2个子图像的平均值average,对每幅子图像减去均值图像得到新图像。 3. 计算相关矩阵R,其元素定义为 。 4. 计算R的特征值与特征向量,计算每幅子图像与最大特征向量的内积,便得到编码,即压缩后的图像。 (This procedure using singular value decomposition of 3-channel color image compression decomposition, concrete steps are as follows: compression process: 1. Select the sub-image size K value, the image is decomposed into M × M sub-image, IMG (s), s = 1, 2, ..., M2, in which M = N/K, the original image IMG size N × N. 2. M2 calculate the average of sub-image average, for each sub-image minus the new images mean images. 3. Calculation of correlation matrix R, defined as its elements. 4. Calculation of the characteristics of R value and eigenvector calculated each sub-image with the largest eigenvector of the inner product, they will have to code, that is, the compressed images.)
文件列表:
图像压缩
........\compression.m
........\decompression.m
........\demo.m
........\图像压缩.doc
下载说明:请别用迅雷下载,失败请重下,重下不扣分!