8 typedef std::shared_ptr<const ScopeMultiImage> ScopeMultiImageCPtr;
10 typedef std::shared_ptr<ScopeHistogram> ScopeHistogramPtr;
27 std::vector<ScopeHistogramPtr>
hists;
31 ScopeMultiHistogram(
const uint32_t& _area = 0,
const uint32_t& _channels = 1,
const uint32_t& _no_of_bins = 512, uint16_t _range = UINT16_MAX);
35 void Calculate(ScopeMultiImageCPtr
const _multi,
const bool& _loghistogram =
false);
38 void Resize(
const uint32_t& _no_of_bins);
51 const std::vector<uint32_t>*
GetHistConst(
const uint32_t& _c)
const;
58 typedef std::shared_ptr<ScopeMultiHistogram> ScopeMultiHistogramPtr;
void Calculate(ScopeMultiImageCPtr const _multi, const bool &_loghistogram=false)
const std::vector< uint32_t > * GetHistConst(const uint32_t &_c) const
In here all declarations for all kinds of datatypes Scope needs.
std::vector< uint16_t > LastCountPositions() const
std::vector< uint16_t > FirstCountPositions() const
std::vector< ScopeHistogramPtr > hists
vector with histograms for each channel
std::vector< uint32_t > MaxCounts() const
A multi channel histogram.
ScopeMultiHistogram(const uint32_t &_area=0, const uint32_t &_channels=1, const uint32_t &_no_of_bins=512, uint16_t _range=UINT16_MAX)
Initialize all channels.
const uint32_t area
area of the histogram
const uint32_t channels
number of channels in the area/histogram
void Resize(const uint32_t &_no_of_bins)
Resize the multi histogram to a new number of bins.
void ReleaseHistConst(const uint32_t &_c) const