CogPMRedLineResult Score Property Cognex VisionPro
Gets the score of this result. The score is a value between zero and one. Higher values indicate a closer match between the trained pattern and the pattern in the search image.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 65.1.0.0
Syntax

public double Score { get; }

Property Value

Type: Double
The score of this result.
Remarks

The computed score is affected by the coverage value of the result and optionally by its clutter value. The score increases as the Coverage value goes up. If the ScoreUsingClutter property in the CogPMRedLineRunParams class is set to "true", then the score will decrease as the Clutter value goes up.

The results in a CogPMRedLineResults collection are sorted in order of decreasing score.

See Also