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

Bjorn Gustavsson
Bjorn Gustavsson 2019년 9월 18일
Replace all 2-D processes with the corresponding 1-D processes, medfilt2 -> medfilt1,
ordfilt2 -> ordfilt1 and so on?
Bjorn Gustavsson
Bjorn Gustavsson 2019년 9월 19일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2019년 9월 18일

댓글:

2019년 9월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by