local variation of image

5 Ansichten (letzte 30 Tage)
nayomi ranamuka
nayomi ranamuka am 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 ??

Akzeptierte Antwort

nayomi ranamuka
nayomi ranamuka am 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 Kommentare
Wolfgang Schwanghart
Wolfgang Schwanghart am 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 am 8 Mai 2011
Thank you

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by