How to change the smooth and smooth2 to be the median (the original is mean )

3 views (last 30 days)
i do not know how to change this two files,smooth and smooth2,to be median.the previous is mean.

Answers (1)

Image Analyst
Image Analyst on 4 May 2014
I don't know what those two files are. You didn't attach them. You can just use medfilt2() to do the median. It's in the Image Processing Toolbox.

Community Treasure Hunt

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

Start Hunting!