Back to FabImage Library website

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

SkipEmptyDataHistogram


Header:FIL.h
Namespace:fil

If the input histogram contains any non-zero bin, then the histogram is copied to the output; otherwise Nil is returned.

Syntax

C++
C#
 
void fil::SkipEmptyDataHistogram
(
	const fil::Histogram& inHistogram,
	ftl::Conditional<fil::Histogram>& outNotEmptyDataHistogram,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
inHistogram const Histogram& Input histogram
outNotEmptyDataHistogram Conditional<Histogram>&
outIsNotEmpty bool&