apply mean filter to image

Fri Mar 25, 2011 5:13 pm

In following image ,apply average filter to image with Gaussian noise.
Code:


    I 
= imread('cameraman.tif'); 
   
%% Show current image.
   imshow(I);
   figure;
   G=imnoise(I,'gaussian',0.0005,0.0019);
   imshow(G);
   figure;
   h = fspecial('average', 3);
   F=imfilter(G,h);
   imshow(F);
 



Attachments
1.GIF
1.GIF (28.46 KiB) Viewed 23179 times

  Related Posts  to : apply mean filter to image
 apply sobel filter to image     -  
 apply prewitt filter to image     -  
 apply laplacian filter to image     -  
 apply robert filter to image     -  
 Median filter to image     -  
 Applying canny filter to image     -  
 Image Custom Filter In Java     -  
 Image Noise Filter in Java     -  
 applying wiener filter to image     -  
 rank order filter effects on image     -  

Topic Tags

Matlab Image