ETcVnContoursMatchComparisonMethod

Offers comparison methods for contour matching.

Syntax

Definition:

TYPE ETcVnContoursMatchComparisonMethod :
(
    TCVN_CMCM_CONTOURS_MATCH_I1 := 1,
    TCVN_CMCM_CONTOURS_MATCH_I2 := 2,
    TCVN_CMCM_CONTOURS_MATCH_I3 := 3
)DINT;
END_TYPE

Values

Name

Description

TCVN_CMCM_CONTOURS_MATCH_I1

Contours are compared using the sum over the differences between the reciprocal individual characteristics.

TCVN_CMCM_CONTOURS_MATCH_I2

Contours are compared using the sum over the differences between the individual characteristics.

TCVN_CMCM_CONTOURS_MATCH_I3

Contours are compared using only the maximum difference between the individual characteristics.

Weiterführende Informationen

Die verfügbaren Methoden basieren auf Hu-Invarianten. Sie verwenden die folgenden Algorithmen, wobei A für die erste und B für die zweite Kontur steht.

ETcVnContoursMatchComparisonMethod 1:
ETcVnContoursMatchComparisonMethod 2:
ETcVnContoursMatchComparisonMethod 3:
ETcVnContoursMatchComparisonMethod 4:
ETcVnContoursMatchComparisonMethod 5:

ETcVnContoursMatchComparisonMethod 6: und ETcVnContoursMatchComparisonMethod 7: mit i in [1, 7] sind jeweils Hu Momente von A und B.

Verwandte Funktionen