Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function im=FogEffect(i)
a = imadjust(i,[0.1 0.1 0.1; 1 1 1],[0 0 0; 1 1 1]);
[m,n,d] = size(i);
for w = 1:3
for u = 1:m
for v = 1:n
if mod(v+u,2) == 0
a(u,v,w) = 225;
end
end
end
end
h = fspecial('gaussian',10,1);
im = imfilter(a,h);
end