Start » Filter Reference » Histogram » Histogram Basics » SkipEmptyHistogram

SkipEmptyHistogram


Module: FoundationBasic

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

Applications

Secures against domain errors caused by empty histograms, e.g. just before the HistogramAverage filter is to be invoked.
Name Type Description
Input value
inHistogram Histogram Input histogram
Output value
outNotEmptyHistogram Histogram? The histogram, if it is not empty
Output value
outIsNotEmpty Bool Indication if the input histogram is not empty

Complexity Level

This filter is available on Basic Complexity Level.