On 2-D images and I have code for Adaptive Wiener filter ,i want to insert code of median and average filter in that code and compare to show no of corrupt pixels corrected in median and average and in adaptive wiener filer.
I need help on following
3 views (last 30 days)
Show older comments
Komal Gaikwad
on 18 Feb 2018
Commented: Komal Gaikwad
on 19 Feb 2018
I want Adaptive Wiener filter and compare it with median and average filter and show how adaptive wiener filter is better than other two.
0 Comments
Accepted Answer
More Answers (1)
Image Analyst
on 18 Feb 2018
Are you dealing with 1-D signals or 2-D images? There are built in functions for all of those. Are you sure you really need us to write the code for you, even though there are examples in the documentation?
1 Comment
Image Analyst
on 18 Feb 2018
Edited: Image Analyst
on 18 Feb 2018
For median filter, use medfilt2(), like in the attached demo.
For averaging/blurring, use conv2() or imfilter().
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!