local variation of image

3 visualizzazioni (ultimi 30 giorni)
nayomi ranamuka
nayomi ranamuka il 7 Mag 2011
I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??

Risposta accettata

nayomi ranamuka
nayomi ranamuka il 8 Mag 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 Commenti
Wolfgang Schwanghart
Wolfgang Schwanghart il 8 Mag 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 il 8 Mag 2011
Thank you

Accedi per commentare.

Più risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by