local variation of image
Show older comments
I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??
Accepted Answer
More Answers (1)
Wolfgang Schwanghart
on 7 May 2011
Hi,
or
doc stdfilt
Hope this helps, Wolfgang
6 Comments
nayomi ranamuka
on 7 May 2011
nayomi ranamuka
on 7 May 2011
Walter Roberson
on 7 May 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
on 7 May 2011
Wolfgang Schwanghart
on 7 May 2011
What exactly is the problem? Did you try to run the example in the documentation?
Walter Roberson
on 7 May 2011
J = stdfilt(I, ones(5,5));
Categories
Find more on Neighborhood and Block Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!