Med Filter implement pictures

2 vues (au cours des 30 derniers jours)
Franzi
Franzi le 31 Mai 2020
Commenté : Rena Berman le 12 Oct 2020
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
I should print the solution of the filtering.
Has anyone an idea how that could be implemented?
  1 commentaire
Rena Berman
Rena Berman le 12 Oct 2020
(Answers Dev) Restored edit

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 31 Mai 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.

Community Treasure Hunt

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

Start Hunting!

Translated by