此页面上的内容需要较新版本的 Adobe Flash Player。

获取 Adobe Flash Player

第三章 第四题答案

答:RGB = imread('autumn.tif');
I = rgb2gray(RGB);
J = dct2(I);
imshow(log(abs(J)),[]), colormap(jet(64)), colorbar
J(abs(J) < 10) = 0;
K = idct2(J)/255;
imshow(K)