Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Array Basics
Array Basics
Select a filter from the list below.
Icon | Name | Description |
---|---|---|
ArrayIndices | Creates an array of element indices, i.e. {0, 1, 2, ..., N-1}, where N is the length of the input array. | |
ArraySize | Returns the number of elements in an array. | |
CreateArray | Creates an array from up to 8 individual objects. | |
CreateUniformArray | Creates an array of the specified size with all elements initialized to the specified value. | |
FindAll | Finds all locations of a given value in the input array. | |
FindFirst | Finds first location of a given value in the input array. | |
FindLast | Finds last location of a given value in the input array. | |
GetArrayElement | Extracts a single element from an array at the specified index. | |
GetArrayElement_OrNil | Extracts a single element from an array at the specified index; returns NIL if the index is out of range. | |
GetArrayElements | Extracts up to 8 individual elements from an array. | |
GetArrayElements_OrNil | Extracts up to 8 individual elements from an array or NIL for indices out of range. | |
GetMultipleArrayElements | Extracts multiple elements from an array. | |
GetRandomElements | Get random array elements with repeating values or not. | |
SetArrayElement | Sets an element of an array to a new value. | |
SetMultipleArrayElements | Sets elements of an array to new values. | |
SkipArrayWithNils | Changes 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. | |
SkipEmptyArray | Secures against domain errors caused by empty arrays, e.g. just before the GetMaximumElement filter is to be invoked. | |
SkipLongArray | Secures against domain errors caused by arrays having too many elements. | |
SkipNotSingle | Changes execution mode from array mode to conditional mode. | |
SkipShortArray | Secures against domain errors caused by arrays having too few elements, e.g. just before the FitSegmentToPoints filter is to be invoked. | |
SkipUnequalSizeArrays | If the input arrays have equal size, then they are copied to the output; otherwise Nils are returned. | |
TestArrayEmpty | Tests whether the size of an array equals zero. | |
TestArrayNotEmpty | Tests whether the size of an array does not equal zero. | |
TestArraySizeEqualTo | Tests whether the size of an array equals the given value. | |
TestArraySizeInRange | Tests whether the number of elements in the input array falls into the specified range. | |
TestArrayWithNils | Tests whether an array contains Nil elements. | |
TestArrayWithNilsOnly | Tests whether an array contains no other elements than Nils. | |
TestArrayWithoutNils | Tests whether an array does not contain Nil elements. |