|
GlobalRangeHistogram< BinCount > Class Template Reference
|
|
Like AutoRangeHistogram, but use global min/max rather than region min/max.
More...
#include <vigra/accumulator.hxx>
Detailed Description
template<int BinCount>
class vigra::acc::GlobalRangeHistogram< BinCount >
Like AutoRangeHistogram, but use global min/max rather than region min/max.
- 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<GlobalRangeHistogram<0>>(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<GlobalRangeHistogram<Bincount>>(acc_chain).left_outliers and getAccumulator<...>(acc_chain).right_outliers .
- 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: