Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
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 [ 28.46 KiB | Viewed 1386 times ]
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )