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

AutoRangeHistogram< BinCount > Class Template Reference

Histogram where range mapping bounds are defined by minimum and maximum of data. More...

#include <vigra/accumulator.hxx>

Detailed Description

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

Histogram where range mapping bounds are defined by minimum and maximum of data.

  • 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<AutoRangeHistogram>(acc_chain).setBinCount(bincount).
  • Becomes a UserRangeHistogram if min/max is set.
  • Works in pass 2, operator+=() is supported (merging) if both histograms have the same data mapping.
  • Outliers can be accessed via getAccumulator<...>(acc_chain).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().

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 (Mon Apr 14 2025)