Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Basics » SkipEmptyDataHistogram
SkipEmptyDataHistogram
If the input histogram contains any non-zero bin, then the histogram is copied to the output; otherwise Nil is returned.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::SkipEmptyDataHistogram ( const avl::Histogram& inHistogram, atl::Conditional<avl::Histogram>& outNotEmptyDataHistogram, bool& outIsNotEmpty )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inHistogram | const Histogram& | Input histogram | ||
outNotEmptyDataHistogram | Conditional<Histogram>& | |||
outIsNotEmpty | bool& |