Cog3DAlignResult Score Property Cognex VisionPro
Gets the score of this result. The score is a value between zero and one. Higher values indicate a better match between the trained pattern and the runtime image.

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

public double Score { get; }

Property Value

Type: Double
The score of this result.
Remarks

The score of a result is computed by multiplying the Clutter value of the result by the ClutterMultiplier and then subtracting that number from the result's Coverage value. The score increases as the coverage value rises, and typically decreases as the clutter value rises. The formula is:

Score = Coverage - (Clutter * ClutterMultiplier)

Notice that the score is never less than zero or greater than 1.0. It is always clipped to lie within this range.

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

See Also