Back to Adaptive Vision Studio website

You are here: Start » Filter 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.

Name Type Description
inHistogram Histogram Input histogram
outNotEmptyHistogram Histogram? The histogram, if it is not empty
outIsNotEmpty Bool Indication if the input histogram is not empty

Applications

Secures against domain errors caused by empty histograms, e.g. just before the HistogramAverage filter is to be invoked.

Complexity Level

This filter is available on Basic Complexity Level.