How to get "mean" or "average" from image statistics?
Posted: 2016-01-27T15:49:48-07:00
When I type:
I can see:
So I can see the "mean" calculated data: 254.996 (0.999983)
But when I type:
I get :
How can I get the correct result for the mean and what is its exact meaning?
Code: Select all
identify -verbose 1.bmp
Code: Select all
Channel statistics:
Pixels: 57600
Gray:
min: 0 (0)
max: 255 (1)
mean: 254.996 (0.999983)
standard deviation: 1.06249 (0.00416663)
kurtosis: 57595
skewness: -239.994
entropy: 0.000299591
Colors: 2
Histogram:
1: ( 0, 0, 0) #000000 gray(0)
57599: (255,255,255) #FFFFFF gray(255)
But when I type:
Code: Select all
identify -format "%[mean]" 1.bmp
Code: Select all
65533.9