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. |
Further information
The available methods are based on Hu invariants. The following algorithms are used, with A representing the first contour and B the second contour.
![ETcVnContoursMatchComparisonMethod 1:](Images/jpg/9007205233118859__Web.jpg)
![ETcVnContoursMatchComparisonMethod 2:](Images/jpg/9007205234633355__Web.jpg)
![ETcVnContoursMatchComparisonMethod 3:](Images/jpg/9007205234639371__Web.jpg)
![ETcVnContoursMatchComparisonMethod 4:](Images/jpg/9007205234642827__Web.jpg)
![ETcVnContoursMatchComparisonMethod 5:](Images/jpg/9007205234645387__Web.jpg)
and
with
i
in [1, 7]
are each Hu moments of A and B.