I need help on following

8 Ansichten (letzte 30 Tage)
Komal Gaikwad
Komal Gaikwad am 18 Feb. 2018
Kommentiert: Komal Gaikwad am 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.

Akzeptierte Antwort

Komal Gaikwad
Komal Gaikwad am 18 Feb. 2018
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.
  1 Kommentar
Komal Gaikwad
Komal Gaikwad am 19 Feb. 2018
I am trying to edit my code for the above issue but as i am beginner it is taking a lot to time to resolve the error and time is limited for me,so can someone please add the median and average code in my existing code??

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 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 Kommentar
Image Analyst
Image Analyst am 18 Feb. 2018
Bearbeitet: Image Analyst am 18 Feb. 2018
For median filter, use medfilt2(), like in the attached demo.
For averaging/blurring, use conv2() or imfilter().

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by