Woolz Image Processing  Version 1.8.3
WlzNObjsGreyStats
Name
WlzNObjsGreyStats - computes basic grey value statistics across multiple objects.
Synopsis
WlzNObjsGreyStats [-h] [-m] [-s] [-o<output file>] [<input objects>]
Options
-m Output mean not sum of object values.
-s Output standard deviation not sum of squares of object values.
-o Output file name, by default the output objecta are written to the standard out.
-h Help - print help message
Description
Reads objects (including compound objects) from the given files in turn: First from the files specified on the commandline and then from the standard input.

The output objects are written to a single compound object. Each object of the compound object will have the same domain (which is the intersection of the input object domains) and values for the simple statistics. The statistics generated are min value, max value, sum of values and sum of squares of values. The objects will have their name properties set to: min, max, sum, ssq, mean and dev as appropriate.

Examples
cat obj1.wlz obj2.wlz obj3.wlz | WlzNObjsGreyStats -s -m obj4.wlz >out.wlz
Creates a compound object with four component objects, the domains of which are all the intersection of the domains of the input objects (obj[1-4].wlz) and the values are the minimum, maximum, mean and standard deviation of the input object values across the objects within the intersection domain.
File
WlzNObjsGreyStats.c
See Also
WlzNObjGreyStats(3)