Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Basics » SkipEmptyHistogram

SkipEmptyHistogram


If the input histogram contains at least one bin, then it is copied to the output; otherwise Nil is returned.

Syntax

C++
C#
 
void avl::SkipEmptyHistogram
(
	const avl::Histogram& inHistogram,
	atl::Conditional<avl::Histogram>& outNotEmptyHistogram,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
inHistogram const Histogram& Input histogram
outNotEmptyHistogram Conditional<Histogram>& The histogram, if it is not empty
outIsNotEmpty bool& Indication if the input histogram is not empty