Professional Documents
Culture Documents
Assignment # II-01: Topic
Assignment # II-01: Topic
Assignment # II-01: Topic
Registration# Name
Submitted by: 17-CS-02 Zain Ul Abidian
Obtained Marks:
Q. No. 1:
How can you defend this statement that circularly symmetric filter gives more smooth
effect then box averaging filter?
Answer :
In circularly symmetric filter Nearest neighboring pixels have the most influence so it has one
parameter which is sigma : isotropic and it give more smooth effect
As squares aren't smooth and filtering an image with a filter that is not "smooth" seems wrong if
we're trying to blur the image.
Q. No. 2:
i. Load a good quality image of your choice. Add some noise in it using some scaling
factor Sigma.
iv. Apply your filter to remove noise from that particular noisy image.
v. Try out different parameters/values for noise generation and smooth effect.
Answer :
I = imread('eight.tif');
figure
imshow(I)
iv. Apply your filter to remove noise from that particular noisy image.
Filter the noisy image, J, with an averaging filter and display the results.
Kaverage = filter2(fspecial('average',3),J)/255;
imshow(Kaverage)
Now use a median filter to filter the noisy image, J
Kmedian = medfilt2(J);
imshowpair(Kaverage,Kmedian,'montage')
v.
Image smoothing is a method of improving the quality of images. • Smoothing is performed by
spatial and frequency filters 2. Spatial filtering • Spatial filtering term is the filtering operations
that are performed directly on the pixels of an image