function exam1()
I=imread('1.JPG');
subplot(1,2,1); imshow(I)
colormap(gray);title(' 原始图像 ')
[a,b]=wavedec2(I,2,'sym4'); len=length(a);
for i=1:len
if(a(i)>300)
a(i)=2*a(i);
else
a(i)=0.5*a(i);
end
end
nx=waverec2(a, b, 'sym4');subplot(1,2,2);
image(nx);
title(' 增强图像 ')
这段代码,为什么运行后不输出增强后的图像