how to create a customized filter for the given image?

I have to filter an image. I should not use inbuilt commands like medfilt2 etc., I have to create my own filter. Can anyone specify the method?

Answers (1)

Two or four nested for loops should do it, depending on what you want to do.

2 Comments

I can understand your answer to certain extent. I can imagine it.But I cant able to write code with this guess. It would be more better if you could explain little bit more or just 4 or 5 lines sample code
You have not indicated what kind of filter you are interested in, so the answer has to be vague.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!