how to filter the noise in my image correctly?
2 views (last 30 days)
Show older comments
Hello, everyone. I meet some problems about how to use filter correctly.
if true
I=imread('eight.tif');
subplot(1,4,1);
imshow(I,[]);
subplot(1,4,2);
Noise=imnoise(I,'salt & pepper',0.025);
imshow(Noise,[]);
xlabel('带噪声的图像');
subplot(1,4,3);
h=fspecial('average',3);
Area=imfilter(Noise,h,'replicate');
imshow(Area,[]);
end
Firstly, i add some noise and then I want to filter this noise, but the third image still exists some noise. So what can I do to avoid this and what's reasons for that ? Thanks a lot. Hang
0 Comments
Accepted Answer
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!