Variance of image in matlab
Mostrar comentarios más antiguos
Hi I wanna calculate variance of image on the matlab, what is the code? My image is grayscale not RGB.
Respuestas (1)
KALYAN ACHARJYA
el 14 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 14 de Jul. de 2019
var_result=var(gray_image)
It returns the row matrix variance with respect to each column
For Complete image, try the following
var_result=var(gray_image(:))
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!