Med Filter implement pictures

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?

Answers (1)

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.

Asked:

on 31 May 2020

Commented:

on 12 Oct 2020

Community Treasure Hunt

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

Start Hunting!