Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Array Basics

Array Basics

Select a filter from the list below.

IconNameDescription
ArrayIndicesCreates an array of element indices, i.e. {0, 1, 2, ..., N-1}, where N is the length of the input array.
ArraySizeReturns the number of elements in an array.
CreateArrayCreates an array from up to 8 individual objects.
CreateUniformArrayCreates an array of the specified size with all elements initialized to the specified value.
FindAllFinds all locations of a given value in the input array.
FindFirstFinds first location of a given value in the input array.
FindLastFinds last location of a given value in the input array.
GetArrayElementExtracts a single element from an array at the specified index.
GetArrayElement_OrNilExtracts a single element from an array at the specified index; returns NIL if the index is out of range.
GetArrayElementsExtracts up to 8 individual elements from an array.
GetMultipleArrayElementsExtracts multiple elements from an array.
GetRandomElementsGet random array elements with repeating values or not.
SetArrayElementSets an element of an array to a new value.
SetMultipleArrayElementsSets elements of an array to new values.
SkipArrayWithNilsChanges an array with conditional elements into a conditional array. Can be useful if some processing should be performed only when all expected objects are correctly detected.
SkipEmptyArraySecures against domain errors caused by empty arrays, e.g. just before the GetMaximumElement filter is to be invoked.
SkipLongArraySecures against domain errors caused by arrays having too many elements.
SkipNotSingleChanges execution mode from array mode to conditional mode.
SkipShortArraySecures against domain errors caused by arrays having too few elements, e.g. just before the FitSegmentToPoints filter is to be invoked.
SkipUnequalSizeArraysIf the input arrays have equal size, then they are copied to the output; otherwise Nils are returned.
TestArrayEmptyTests whether the size of an array equals zero.
TestArrayNotEmptyTests whether the size of an array does not equal zero.
TestArraySizeEqualToTests whether the size of an array equals the given value.
TestArraySizeInRangeTests whether the number of elements in the input array falls into the specified range.
TestArrayWithNilsTests whether an array contains Nil elements.
TestArrayWithNilsOnlyTests whether an array contains no other elements than Nils.
TestArrayWithoutNilsTests whether an array does not contain Nil elements.