vector_distance ( : : Mode, Sigma, Vector1, Vector2 : Distance )

Similarity of two vectors.

The operator vector_distance calculates the similarity of two vectors. The two vectors may differ in length.


Parameters

Mode (input_control)
string(-array) -> string
Modes of invariants.
Default value: 'length'
List of values: 'length', 'mean'

Sigma (input_control)
number(-array) -> real
Variance of the optional smoothing with a Gaussian filter.
Default value: 0.0
Suggested values: 0.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 5.0, 7.0, 10.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.0

Vector1 (input_control)
real-array -> real / integer
First vector.

Vector2 (input_control)
real-array -> real / integer
Second vector.

Distance (output_control)
real-array -> real / integer
Distance between the vectors



Copyright © 1996-1997 MVTec Software GmbH