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
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
Image Analyst
2018-2-18
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 个评论
Image Analyst
2018-2-18
编辑:Image Analyst
2018-2-18
For median filter, use medfilt2(), like in the attached demo.
For averaging/blurring, use conv2() or imfilter().
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!