CorrelationScore Property

NI Vision for Visual Basic

CorrelationScore Property

Syntax

CWIMAQGeometricPatternMatchReportItem.CorrelationScore

Data Type

Single

Purpose

Accuracy of the match, which is obtained by comparing the template image to the match region using a correlation metric that compares the two regions as a function of their pixel values. A value of 1,000 indicates a perfect match, and a value of 0 indicates no match.

Remarks

This value is not computed if CWIMAQMatchGeometricPatternAdvancedOptions.CorrelationScore is set to False.

See Also

CWIMAQMatchGeometricPatternAdvancedOptions.CorrelationScore