Med Filter implement pictures
Show older comments
Hello! I have the following question:
I have to implement the median filter for a black&white picture. I have given a mask which has the values zero and one, to determine Ω. For [a,b]=size(A) is a,b
and
where s is a signal
and
I should print the solution of the filtering.
Has anyone an idea how that could be implemented?
1 Comment
Rena Berman
on 12 Oct 2020
(Answers Dev) Restored edit
Answers (1)
Image Analyst
on 31 May 2020
I have no idea what Omega is, or what most of that mathematical set theory mumbo jumbo is. Just state it in words. If you want to take the median filter, use medfilt2().
medianFilteredImage = medfilt2(grayImage, [a, b]);
imshow(mfImage, []);
As far as determining what Omega should be, I have no idea since I don't know what Omega is.
Categories
Find more on Image Filtering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!