 |
Matlab Tutorial : Digital Image Processing 6 - Smoothing : Low pass filter - 2015
Here is the script: I = imread('cameraman.tif'); J = imnoise(I,'salt & pepper',0.02); K = medfilt2(J); subplot(121);imshow(J); subplot(122);imshow(K); Much better. Unlike the previous filter which is just using mean value, this time we used median. Median
www.bogotobogo.com |
 |