Med Filter implement pictures
Ältere Kommentare anzeigen
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 Kommentar
Rena Berman
am 12 Okt. 2020
(Answers Dev) Restored edit
Antworten (1)
Image Analyst
am 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.
Kategorien
Mehr zu Digital Filter Design finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!