Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Array Transforms

Array Transforms

Select Filter Equivalent below.

Icon Name Description / Applications
AvsFilter_LimitArraySize

Adds or removes elements at the end of an array until it reaches the requested new size range.

AvsFilter_ResizeArray

Adds or removes elements at the end of an array until it reaches the requested new size.

AvsFilter_ResizeArray_Relative

Removes elements at the end of an array until it reaches the requested new size based on scale ratio.

CropArray

Selects a continuous subsequence of array elements.

CropArraysToEqualSize

Removes some trailing elements from the longer array of the two so that the output arrays have equal size.

RemoveDuplicates

Removes repeated elements from array.

RemoveElementsFromArrayEnds

Removes all specified values from one or both ends of an array.

RemoveNils

Removes all Nil elements from an array.


This filter is useful e.g. when inspecting multiple objects while some of the inspections may fail (Nil result). RemoveNils is used to ignore the failed cases in the final result.

ReverseArray

Creates an array of the input array elements in reversed order.

RotateArray

Cyclically shifts the elements of an array.

SlideArray

Creates two copies of the input array - one with elements removed at the beginning, the other with elements removed at the end.


This filter is useful for computing something on all the pairs of two consecutive elements of an array, e.g. creating a list of segments from an ordered list of points.

SortArray

Changes the order of the input array elements according to an ascending/descending sequence of the value array.

SplitArray

Divides an array into two parts at the given index.

SwapArrayElements

Swaps two elements of an array.

SynchronizeArrays

Selects as many elements from each of the input arrays as possible, while assuring that the difference between corresponding values is not too big.

TransposeArrayArray

Transposes a matrix represented as an array of arrays.