[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Set histogram options. More...
#include <vigra/histogram.hxx>
Public Member Functions | |
| HistogramOptions & | globalAutoInit () |
| HistogramOptions () | |
| HistogramOptions & | regionAutoInit () |
| HistogramOptions & | setBinCount (int c) |
| HistogramOptions & | setMinMax (double mi, double ma) |
| bool | validMinMax () const |
Set histogram options.
HistogramOptions objects are used to pass histogram options to other objects. This example shows how it is is used to pass histogram options to an accumulator chain.
| HistogramOptions | ( | ) |
Initialize members with default values:
| HistogramOptions & setMinMax | ( | double | mi, |
| double | ma ) |
Set minimum = mi and maximum = ma. Requirement: mi < ma.
| HistogramOptions & setBinCount | ( | int | c | ) |
Set binCount = c. Requirement: c > 0.
| HistogramOptions & regionAutoInit | ( | ) |
Set local_auto_init = true. Requirement: setMinMax() must not have been called before.
| HistogramOptions & globalAutoInit | ( | ) |
Set local_auto_init = false. Requirement: setMinMax() must not have been called before.
| bool validMinMax | ( | ) | const |
Return minimum < maximum.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |