Search This Blog

Noise Removal in colored Images using Median Filter | MATLAB

Know more about Median Filter: https://en.wikipedia.org/wiki/Median_...). How to add noise in images: https://www.mathworks.com/help/images... 3-D Median Filter MATLAB: https://www.mathworks.com/help/images...

clc

clear all

close all

warning off

a=imread('Nature.JPG');

I=imnoise(a,'salt & pepper',0.3);

figure;

imshow(I);

title('Image with Slat & Pepper Noise');

I_filtered=medfilt3(I,[5,5,3]);

figure;

imshow(I_filtered);

title('Filtered Image');



No comments