Showing posts with label salt and pepper noise. Show all posts
Showing posts with label salt and pepper noise. Show all posts

Friday, November 14, 2014

Matlab Code for Image filtering from Salt and Pepper Noise using Median and Wiener filter

clc;
clear all;
close all;
I = imread('rice.png');
I2=imnoise(I,'salt&pepper');
subplot(2,2,1);
imshow(I);
title('Original image');