DFT&DCT
代码说明:
编程实现二维8*8图像块的DFT,DCT变换 输入一副RGB图像,将其转化为YCbCr颜色空间,然后对Y分量做分块DFT变换,保存为灰度图像,统计计算时间 编程实现8*8块DCT变换,然后分别显示,当使用64个DCT系数里面的一些系数进行重构,比较其质量;同时熟悉采用FFT来实现DCT变换的思想,并显示2维8*8DCT变换的基函数图像(Programming the DFT, DCT transform of two dimensional 8*8 image block Input a pair of RGB images, transform it into YCbCr color space, then divide the Y component into block DFT transform, save as gray image, and calculate the calculation time The 8*8 block DCT transform is implemented by programming, and then it is shown that when using some coefficients in 64 DCT coefficients, the quality is reconstructed. Meanwhile, the idea of DCT transformation is familiar with FFT, and the base function image of the 2 dimensional 8*8DCT transform is displayed.)
文件列表:
代码
代码\DCT0.m, 151, 2017-12-05
代码\DCT1.m, 891, 2017-12-05
代码\DCT2.m, 321, 2017-12-05
代码\dft1.m, 392, 2017-12-05
代码\fft2.m, 1711, 2017-12-04
代码\lena88.bmp, 246, 2017-12-04
代码\RGB2YCbCr.m, 479, 2017-12-05
代码\RGB2YCbCr_2.m, 316, 2017-12-05
代码\showBase.m, 555, 2017-12-05
下载说明:请别用迅雷下载,失败请重下,重下不扣分!