Sat Apr 09, 2011 10:41 pm
%% 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)
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.