Matlab Code for Median Filter

a=imread(‘cameraman.tif’);

b=imnoise(a,’salt & pepper’);

c3=medfilt2(b,[3 3]);

c4= medfilt2(b,[5 5]);

subplot(2,2,1);imshow(a);

title(‘original image’);

subplot(2,2,2);imshow(b);

title(‘salt and pepper noise image’);

subplot(2,,3);imshow(uint8(c3));

title(‘3×3 median filter);

subplot(3,2,1);

imshow(uint8(c4));

title(‘5x5median filter);


Contact:
Mr. Roshan P. Helonde
Mobile: +91-7276355704
WhatsApp: +91-7276355704
Email: roshanphelonde@rediffmail.com
Share:

Total Pageviews

CONTACT US

Prof. Roshan P. Helonde
Mobile: +917276355704
WhatsApp: +917276355704
Email: roshanphelonde@rediffmail.com

Enter Project Title

Popular Projects

All Archive

Contact Form

Name

Email *

Message *