Woolz Image Processing  Version 1.7.0
WlzHistogramRebin - Re-bins a Woolz histogram object.
WlzHistogramRebin [-o<output object file>] [-a] [-h]
           [-i] [-f] [-n<bins>] [-s<start>] [-w<width>]
           [<input object file>]
-a output the histogram as ascii data not a Woolz histogram object.
-i create integer bin values.
-f create (double precision) floating point bin values.
-n number of histogram bins.
-s start value, lower limit of histogram.
-w width of the histogram bins.
-o Output object file name.
-h Help - print help message
-v Verbose operation
By default the input histogram object is read from the standard input and the output histogram data/object is written to the standard out- put. The default number of bins, origin and bin width values are those of the input histogram object.
Re-bins a Woolz histogram object as required.
Output ascii data are written as a set of records one per line, with each record composed of two fields separated by white space characters:
<grey value> <histogram bin occupancy>
# An example which uses WlzHistogramRebin and xgraph to plot a
# histogram with 256 bins, starting at 0 and with a bin width
# of 1.

WlzHistogramRebin -a -s0 -n256 -w1 myHist.wlz | xgraph
See Also
WlzHistogramObj(1) WlzHistogramRebin(3)