local variation of image
Ältere Kommentare anzeigen
I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??
Akzeptierte Antwort
Weitere Antworten (1)
Wolfgang Schwanghart
am 7 Mai 2011
Hi,
or
doc stdfilt
Hope this helps, Wolfgang
6 Kommentare
nayomi ranamuka
am 7 Mai 2011
nayomi ranamuka
am 7 Mai 2011
Walter Roberson
am 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
am 7 Mai 2011
Wolfgang Schwanghart
am 7 Mai 2011
What exactly is the problem? Did you try to run the example in the documentation?
Walter Roberson
am 7 Mai 2011
J = stdfilt(I, ones(5,5));
Kategorien
Mehr zu Neighborhood and Block Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!