Start » Filter Reference » Histogram » Histogram Basics » SkipEmptyDataHistogram

SkipEmptyDataHistogram


Module: FoundationBasic

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

Applications

Secures against domain errors caused by histograms representing empty data sets, e.g. just before the HistogramDataAverage filter is to be invoked.
Name Type Description
Input value
inHistogram Histogram Input histogram
Output value
outNotEmptyDataHistogram Histogram?
Output value
outIsNotEmpty Bool

Complexity Level

This filter is available on Basic Complexity Level.