How to compute variance of image in windows?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Bjorn Gustavsson
el 15 de Mzo. de 2019
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
Respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!