clear
%字符识别的应用
A=imread(‘C:\Users\Documents\Tencent Files\949109908\FileRecv\Assignment03\Assignment03\Fig0419(a)(text_gaps_of_1_and_2_pixels).tif’);
OUT1=GLPF(A,80);
figure;
subplot(1,2,1); imshow(A); title(‘低分辨率文本’);
subplot(1,2,2); imshow(OUT1); title(‘使用DLPF对图像滤波后的结果’);
%印刷和出版业
B=imread(‘C:\Users\Documents\Tencent Files\949109908\FileRecv\Assignment03\Assignment03\Fig0450(a)(woman_original).tif’);
OUT2=GLPF(B,100);
OUT3=GLPF(B,80);
figure;
subplot(1,3,1); imshow(B); title(‘原图像’);
subplot(1,3,2); imshow(OUT2); title(‘D0=100的GLPF结果’);
subplot(1,3,3); imshow(OUT3); title(‘D0=80的GLPF结果’);
%卫星图像和航空图像的处理
C=imread(‘C:\Users\Documents\Tencent Files\949109908\FileRecv\Assignment03\Assignment03\Fig0451(a)(satellite_original).tif’);
OUT4=GLPF(C,50);
OUT5=GLPF(C,20);
figure;
subplot(1,3,1); imshow©; title(‘显示有突出扫描线的图像’);
su