I need to test some basic image processing techniques in Matlab. I need to test and compare especially two types of filters: mean filter and median filter.
To smooth
f=imread(...); h=fspecial('average', [3 3]); g= imfilter(f, h); imshow(g);