Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Conditional Processing » SelectByRange

SelectByRange


Selects the elements of the input that fall into the specified range.

Name Type Description
inArray <T>Array Elements to be classified
inValues RealArray Corresponding values to be compared against the range
inMinimum Real* Lowest value of the range
inMaximum Real* Highest value of the range
outSelected <T>Array Array of elements corresponding to values matching the range

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Inconsistent array lengths on input in SelectByRange.
DomainError Incorrect (NaN) float value on inValues input in SelectByRange.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of Select filter group.