local variation of image

조회 수: 4 (최근 30일)
nayomi ranamuka
nayomi ranamuka 2011년 5월 7일
I want to calculate the local standard variation in a sliding window for an image. How it should be done using matlab ??

채택된 답변

nayomi ranamuka
nayomi ranamuka 2011년 5월 8일
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
Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 5월 8일
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 2011년 5월 8일
Thank you

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 5월 7일
  댓글 수: 6
Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 5월 7일
What exactly is the problem? Did you try to run the example in the documentation?
Walter Roberson
Walter Roberson 2011년 5월 7일
J = stdfilt(I, ones(5,5));

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by