matlab code for median-mean filter

7 views (last 30 days)
somasekar jalari
somasekar jalari on 5 Nov 2013
Commented: Image Analyst on 16 Sep 2021
a hybrid noise filter technique called median-mean filter by combining median and mean filter found in one of the reseach article. is there any matlab command for median-mean filter if so pls suggest me.

Answers (3)

Matt J
Matt J on 5 Nov 2013
Not unless you find it on the File Exchange (or another site). However, it sounds like commands like MEAN, MEDIAN, MEDFILT2 could be useful in building it yourself.

KONDA SRUJANA
KONDA SRUJANA on 16 Sep 2021
[I,map]=imread('photo.tif');
I=ind2grb(I,map);
J=imnoise(I,'salt&pepper',0.02);
K=hmf(J,9);
subplot(1,2,1);
imshow(J);
subplot(1,2,2);
imshow(K);
  1 Comment
Image Analyst
Image Analyst on 16 Sep 2021
There is no built-in hmf() function, and you forgot to attach it.

Sign in to comment.


Image Analyst
Image Analyst on 16 Sep 2021
See attached modified median filter to remove salt and pepper noise.

Community Treasure Hunt

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

Start Hunting!