|
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: