Back to Adaptive Vision Library website
You are here: Start » Function Reference » Array Transforms » SynchronizeArrays
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Selects as many elements from each of the input arrays as possible, while assuring that the difference between corresponding values is not too big.
Syntax
void avl::SynchronizeArrays ( const atl::Array<Type>& inArray1, const atl::Array<Type>& inArray2, const atl::Array<float>& inValues1, const atl::Array<float>& inValues2, const float inMaxDifference, atl::Array<Type>& outArray1, atl::Array<Type>& outArray2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inArray1 | const Array<Type>& | ||||
inArray2 | const Array<Type>& | ||||
inValues1 | const Array<float>& | ||||
inValues2 | const Array<float>& | ||||
inMaxDifference | const float | 0.0 - | |||
outArray1 | Array<Type>& | ||||
outArray2 | Array<Type>& |
Errors
Error type | Description |
---|---|
DomainError | inMaxDifference negative in SynchronizeArrays. |
DomainError | Inconsistent array lengths in SynchronizeArrays. |