ETcVnTemplateMatchMethod

Offers methods for template matching.

Syntax

Definition:

enum ETcVnTemplateMatchMethod : LONG
{
    TMM_SQDIFF        = 0,
    TMM_SQDIFF_NORMED = 1,
    TMM_CCORR         = 2,
    TMM_CCORR_NORMED  = 3,
    TMM_CCOEFF        = 4,
    TMM_CCOEFF_NORMED = 5
};

Values

Name

Description

TMM_SQDIFF

Squared difference (supports template mask)

TMM_SQDIFF_NORMED

Normalized squared difference

TMM_CCORR

Cross-correlation

TMM_CCORR_NORMED

Normalized cross-correlation (supports template mask)

TMM_CCOEFF

Correlation coefficient

TMM_CCOEFF_NORMED

Normalized correlation coefficient