applying wiener filter to image

Sat Apr 09, 2011 9:41 pm

applying wiener filter to image which is degraded .
Code:

    
%% apply wiener filter .
     clc;
    
     newImageRGB 
= imread('saturn.png');
     %% convert image to gray level
     grayImage 
= rgb2gray(newImageRGB);
     figure;
     imshow(grayImage);
     
     
%% adding noise to image .
     afferNoise = imnoise(grayImage,'gaussian',0,0.025);
     figure;
     imshow(afferNoise)
     %% applying wiener filter ot image.
     afterWiener = wiener2(afferNoise,[6 6]);
     figure, imshow(afterWiener)
 



Attachments
image1.PNG
original image
image1.PNG (79.08 KiB) Viewed 14951 times
image2.PNG
image with noise
image2.PNG (155.27 KiB) Viewed 14951 times
image3.PNG
after wiener filter
image3.PNG (160.07 KiB) Viewed 14951 times

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

Topic Tags

Matlab Basics