Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Combinators » MinimumHistogram
MinimumHistogram
Computes the minimum of two histograms bar by bar.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::MinimumHistogram ( const avl::Histogram& inHistogram1, const avl::Histogram& inHistogram2, avl::Histogram& outHistogram )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inHistogram1 | const Histogram& | Input histogram1 | ||
inHistogram2 | const Histogram& | Input histogram2 | ||
outHistogram | Histogram& | Output histogram |
Description
The operation computes the minimum of two histograms. That is, each bin of the resulting histogram equals the minimum of corresponding bins of the input histograms.
In-place Processing
This function supports in-place data processing - you can pass the same reference to inHistogram1 and outHistogram, inHistogram2 and outHistogram
Errors
Error type | Description |
---|---|
DomainError | Input histograms formats are not the same in MinimumHistogram. |