| [mmlabelflat] [Up] [mmpatspec] | Measurements |
| User Feedback |
Compute global image statistics: 'max' - maximum gray-scale value in image; 'min' - minimum gray-scale value in image; 'sum' - sum of all pixel values; 'median' - median value of all pixels in image; 'mean' - mean value of all pixels in image; 'std' - standard deviation of all pixels (normalized by N-1); 'std1' - idem, normalized by N.
f=uint8([0,1,2,3,4,5,6])
print mmstats(f,'min')
0.0
print mmstats(f,'max')
6.0
print mmstats(f,'sum')
21.0
print mmstats(f,'median')
3.0
print mmstats(f,'mean')
3.0
print mmstats(f,'std')
2.16024689947
print mmstats(f,'std1')
2.0

| mmhistogram | Find the histogram of the image f. |
| mmblob | Blob measurements from a labeled image. |
| mmgrain | Gray-scale statistics for each labeled region. |
| [mmlabelflat] [Up] [mmpatspec] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |