Hi every one,
I would like to know how I can loop on an image matrix in matlab and apply some filters on it. Lets say as example I would like to make median filter manually on matlab and apply on an image.
I would like to know how to do this because there is some algorithms I would like to implement by my self which is not supported by matlab toolbox.
Thanks every one.

 Réponse acceptée

Image Analyst
Image Analyst le 4 Mai 2015

0 votes

You can either do it yourself with multiple for loops, or write your function that takes in a window and call nlfilter(). See my attached demo.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by