1D adaptive median filter
4 views (last 30 days)
Show older comments
When I survey on the Internet about adaptive median filter, I found generally 2D adaptive median filter.
How can I write code of 1D adaptive median filter for smoothing noise on the signal?
2 Comments
Bjorn Gustavsson
on 18 Sep 2019
Replace all 2-D processes with the corresponding 1-D processes, medfilt2 -> medfilt1,
ordfilt2 -> ordfilt1 and so on?
Bjorn Gustavsson
on 19 Sep 2019
What part of that answer couldn't you follow? What part of the implementation are you struggling with? You surely have found pseudo-code and code for 2-D adaptive median filters. Why would it be a problem to restrict that filter-algorithm to "1-D images"? Have you looked at the file exchange for 1-D adaptive median filter? If not here's a link for you:
...and technically it wasn't an answer.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!