Back to Adaptive Vision Library Lite website
You are here: Start » All Functions » Array Transforms » SynchronizeArrays
SynchronizeArrays
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
| Header: | STD.h |
|---|---|
| Namespace: | avl |
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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Inconsistent array lengths in SynchronizeArrays. |
| DomainError | inMaxDifference negative in SynchronizeArrays. |



