Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Point Transforms » AddToHistogram
AddToHistogram
Increases each bin value by a number.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::AddToHistogram ( const avl::Histogram& inHistogram, const int& inValue, avl::Histogram& outHistogram )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inHistogram | const Histogram& | Input histogram | ||
inValue | const int& | 0 | Input value | |
outHistogram | Histogram& | Output histogram |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inHistogram and outHistogram