ETcVnTemplateMatchMethod
Offers methods for template matching.
Syntax
Definition:
TYPE ETcVnTemplateMatchMethod :
(
TCVN_TMM_SQDIFF := 0,
TCVN_TMM_SQDIFF_NORMED := 1,
TCVN_TMM_CCORR := 2,
TCVN_TMM_CCORR_NORMED := 3,
TCVN_TMM_CCOEFF := 4,
TCVN_TMM_CCOEFF_NORMED := 5
)DINT;
END_TYPE
Values
Name |
Description |
---|---|
TCVN_TMM_SQDIFF |
Squared difference (supports template mask) |
TCVN_TMM_SQDIFF_NORMED |
Normalized squared difference |
TCVN_TMM_CCORR |
Cross-correlation |
TCVN_TMM_CCORR_NORMED |
Normalized cross-correlation (supports template mask) |
TCVN_TMM_CCOEFF |
Correlation coefficient |
TCVN_TMM_CCOEFF_NORMED |
Normalized correlation coefficient |