Variance of image in matlab

13 Ansichten (letzte 30 Tage)
Amir Majhool
Amir Majhool am 14 Jul. 2019
Bearbeitet: KALYAN ACHARJYA am 14 Jul. 2019
Hi I wanna calculate variance of image on the matlab, what is the code? My image is grayscale not RGB.

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 14 Jul. 2019
Bearbeitet: KALYAN ACHARJYA am 14 Jul. 2019
var_result=var(gray_image)
It returns the row matrix variance with respect to each column
Detail Documentation var
For Complete image, try the following
var_result=var(gray_image(:))

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by