Woolz Image Processing  Version 1.7.5
WlzGreyStats - calculates simple statistics for a domain object's grey values.
WlzGreyStats [-o<output file>] [-c] [-h] [-v] [<input object file>]
-c Colour stats if RGB data else modulus data returned.
-o Output object file name.
-h Help - print help message
-v Verbose operation
By default the input object is read from the standard input and the output is written to the standard output.
WlzGreyStats calculates the area, minimum, maximum, sum, sum of squares, mean and the standard deviation of the input Woolz 2D or 3D domain object's grey values. If the verbose output flag is not set then the following are written to the output file in the following order:
 <area> <grey type> <min> <max> <sum> <sum of sq> <mean> <std dev>
# WlzGreyStats reads an object from myobj.wlz, calculates
# its grey value statistics and then prints them to the
# standard output.

WlzGreyStats myobj.wlz
See Also
WlzGreyRange(1) WlzGreyStats(3) WlzRGBAGreyStats(3)