赞
踩
cactus1920*1080的第一帧图
1、对cactus1920*1080的第一帧图进行整个DCT变换
RGB = imread('Cactus_1920x1080_50_0_rgb.bmp');
I = rgb2gray(RGB);
J = dct2(I);
dlmwrite('test.txt', a);
imshow(log(abs(J)),[]),
colormap(jet(64)),
colorbar
2、对cactus1920*1080的第一帧图划分成8*8块大小单独做DCT变换
RGB = imread('Cactus_1920x1080_50_0_rgb.bmp');
I = rgb2gray(RGB);
dlmwrite('dct2.txt', I);
I=im2double(I);
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。