how to compare two variances of two RGB image

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 Kommentar

That code is giving you three variances for each image, which does not allow you to decide which image has the maximum variance.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 5 Feb. 2016

Bearbeitet:

am 5 Feb. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by