local variation of image

2 次查看(过去 30 天)
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
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.

请先登录,再进行评论。

更多回答(1 个)

Wolfgang Schwanghart
  6 个评论
Wolfgang Schwanghart
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));

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by