[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

IntegerHistogram< BinCount > Class Template Reference

Histogram where data values are equal to bin indices. More...

#include <vigra/accumulator.hxx>

Detailed Description

template<int BinCount>
class vigra::acc::IntegerHistogram< BinCount >

Histogram where data values are equal to bin indices.

  • If BinCount != 0, the return type of the accumulator is TinyVector<double, BinCount> .
  • If BinCount == 0, the return type of the accumulator is MultiArray<1, double> . BinCount can be set by calling getAccumulator<IntegerHistogram<0> >(acc_chain).setBinCount(bincount).
  • Outliers can be accessed via getAccumulator<IntegerHistogram<Bincount>>(a).left_outliers and getAccumulator<...>(acc_chain).right_outliers.
  • Note that histogram options (for all histograms in the accumulator chain) can also be set by passing an instance of HistogramOptions to the accumulator chain via acc_chain.setHistogramOptions(). Works in pass 1, operator+=() supported (merging supported).

The documentation for this class was generated from the following files:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.12.2