how to compare two variances of two RGB image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2016-2-5
That code is giving you three variances for each image, which does not allow you to decide which image has the maximum variance.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!