How to compute variance of image in windows?
조회 수: 1 (최근 30일)
이전 댓글 표시
I read a paper about Guided Image Filtering. For edge preserving:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208559/image.png)
where
is defined as the variance of input image whose centre is
.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208560/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208561/image.png)
How to compute it in Matlab?
Thankyou.
댓글 수: 2
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 Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!