local variation of image
Afficher commentaires plus anciens
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
Plus de réponses (1)
Wolfgang Schwanghart
le 7 Mai 2011
Hi,
or
doc stdfilt
Hope this helps, Wolfgang
6 commentaires
nayomi ranamuka
le 7 Mai 2011
nayomi ranamuka
le 7 Mai 2011
Walter Roberson
le 7 Mai 2011
Yes?
J = stdfilt(I, NHOOD) calculates the local standard deviation of the input image I, where you specify the neighborhood in NHOOD. NHOOD is a multidimensional array of zeros and ones where the nonzero elements specify the neighbors. NHOOD's size must be odd in each dimension.
nayomi ranamuka
le 7 Mai 2011
Wolfgang Schwanghart
le 7 Mai 2011
What exactly is the problem? Did you try to run the example in the documentation?
Walter Roberson
le 7 Mai 2011
J = stdfilt(I, ones(5,5));
Catégories
En savoir plus sur Neighborhood and Block Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!