Find geometric mean and arithmetic mean

how to find geometric mean and arithmetic mean of histogram of an image

 Accepted Answer

I = imread('pout.tif');
a=imhist(I);
arithmeticmean=mean(a);
geometricmean=geomean(a);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!