How to loop on an image matrix in matlab
1 view (last 30 days)
Show older comments
Saied Aboul-Dahab
on 4 May 2015
Answered: Image Analyst
on 4 May 2015
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.
0 Comments
Accepted Answer
Image Analyst
on 4 May 2015
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.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!