local variation of image

5 vues (au cours des 30 derniers jours)
nayomi ranamuka
nayomi ranamuka le 7 Mai 2011
I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??

Réponse acceptée

nayomi ranamuka
nayomi ranamuka le 8 Mai 2011
Thank you. Regarding to your comments I've a solution also. J = colfilt(I,[5 5],'sliding',@std); I hope your suggestions for my solution.
  2 commentaires
Wolfgang Schwanghart
Wolfgang Schwanghart le 8 Mai 2011
Hi, your solution is good, too! The function stdfilt is probably much faster, but if this is not a problem right now, colfilt is a good alternative.
nayomi ranamuka
nayomi ranamuka le 8 Mai 2011
Thank you

Connectez-vous pour commenter.

Plus de réponses (1)

Wolfgang Schwanghart
Wolfgang Schwanghart le 7 Mai 2011
  6 commentaires
Wolfgang Schwanghart
Wolfgang Schwanghart le 7 Mai 2011
What exactly is the problem? Did you try to run the example in the documentation?
Walter Roberson
Walter Roberson le 7 Mai 2011
J = stdfilt(I, ones(5,5));

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by