How to compute variance of image in windows?

1 次查看(过去 30 天)
I read a paper about Guided Image Filtering. For edge preserving:
where is defined as the variance of input image whose centre is .
How to compute it in Matlab?
Thankyou.
  2 个评论
Bjorn Gustavsson
Bjorn Gustavsson 2019-3-15
If you have the image-processing toolbox have a look at wiener2:
edit wiener2
In there you can see how the local variance is calculated.
HTH

请先登录,再进行评论。

回答(0 个)

类别

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