i added noise using n=0+40*randn(size(grayimage)) in grayimage(noisy=grayimage+n). then i have removed noise using medfilt2(noisy, [3 3]); but i have not got best result, so how can i got best denoisy image and which modifications are needed? (you can take any grayimage for testing)
[medfilt2(noisy, [3 3]) works well for salt & pepper noise.]
Best Answer