Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

MATLAB Program to blur an image

clc

clear all

close all

x=imread('Golden.jpg');

imshow(x)

ag=fspecial('average',[10,10]);

g=imfilter(x,ag);

imshow(g)

 

Code for animation;

clc

clear all

close all

x=imread('Golden.jfif');

for i=1:30

ag=fspecial('average',[i,i]);

g=imfilter(x,ag);

imshow(g);

drawnow;

end

 

No comments

Popular Posts

Followers