Effacer les filtres
Effacer les filtres

how to compare two variances of two RGB image

3 vues (au cours des 30 derniers jours)
bay rem
bay rem le 5 Fév 2016
Modifié(e) : bay rem le 5 Fév 2016
i calculate for each image its variance like below:
for i=1:3
Var(i) = var(reshape(im1(:,:,i),[],1));
end
how can i then compare the two variances to find wich image have max variance?
  1 commentaire
Walter Roberson
Walter Roberson le 5 Fév 2016
That code is giving you three variances for each image, which does not allow you to decide which image has the maximum variance.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by