这不起作用,我可以弄清楚为什么,你能帮我吗?
for l = (300:1:-1)
gauss = fspecial('gaussian',[1 round(1+0.15*l)], 0.015*l);
filter_g(l,:,1) = filter2(gauss, img_d(l,:,1));
filter_g(l,:,2) = filter2(gauss, img_d(l,:,2));
filter_g(l,:,3) = filter2(gauss, img_d(l,:,3));
end