请分析以下程序的功能。 I=imread(’cameraman.tif’); I1=im2double(I); T=dctmtx(8); B=blkproc(I
请分析以下程序的功能。 I=imread(’cameraman.tif’); I1=im2double(I); T=dctmtx(8); B=blkproc(I1,[8 8],’P1*x*P2’,T,T’); mask=[1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]; B2=blkproc(B,[8 8],’P1.*x’,mask);I2=blkproc(B2,[8 8],’P1*x*P2’,T’,T); subplot(121),imshow(I1,[]); subplot(122),imshow(I2,[]);