vector median filter
Show older comments
is there any function in matlab for vector median filter or vector directional filter? plz help.
2 Comments
Walter Roberson
on 28 Dec 2011
Is there a difference between "vector median filter" and "median filter applied to a vector" ?
Yogesh Joshi
on 28 Dec 2011
Accepted Answer
More Answers (2)
Image Analyst
on 28 Dec 2011
0 votes
Whether applying medfilt2() to each color plane independently (such as my code here: http://www.mathworks.com/matlabcentral/answers/16350-how-to-remove-pixels-in-an-image) is an improvement is something you'll have to decide as this can give color artifacts that can make it worse. Maybe you want to convert to HSV and just use medfilt2 on the V channel. Or you can do more sophisticated, smarter things like median filtering the image (somehow) and then replace only SOME of the pixels - the "bad" ones, which you've identified somehow - rather than all of them.
Yogesh Joshi
on 2 Jan 2012
0 votes
1 Comment
Image Analyst
on 2 Jan 2012
OK, what's the algorithm for that?
Categories
Find more on Image Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!