Herror ::distance_funct_1d (
    const HTuple &Function1,
    const HTuple &Function2,
    const HTuple &Mode,
    const HTuple &Sigma,
    HTuple *Distance
)

Compute the distance of two functions.

::distance_funct_1d calculates the distance of two functions. The two functions may differ in length.


Parameters

Function1 (input_control)
function_1d-array -> HTuple.double / long
Input function 1.

Function2 (input_control)
function_1d-array -> HTuple.double / long
Input function 2.

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

Sigma (input_control)
number(-array) -> HTuple.double
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

Distance (output_control)
real-array -> HTuple.double * / long *
Distance of the functions.


Module

Tools



Copyright © 1996-2002 MVTec Software GmbH