Woolz Image Processing  Version 1.8.3
Name
WlzGreyStats - calculates simple statistics for a domain object's grey values.
Synopsis
WlzGreyStats [-o<output file>] [-c] [-h] [-v] [<input object file>]
Options
-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.
Description
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>
Examples
# WlzGreyStats reads an object from myobj.wlz, calculates
# its grey value statistics and then prints them to the
# standard output.

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