Cog3DPatMaxRunParams ScoreMode Property Cognex VisionPro 9.5
Gets or sets the score mode. This mode controls how the tool should compute scores for candidate matches.

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

public Cog3DPatMaxScoreModeConstants ScoreMode { get; set; }

Property Value

Type: Cog3DPatMaxScoreModeConstants
The score mode. Default value is CoverageAndClutter.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is not a member of Cog3DPatMaxScoreModeConstants.
Remarks

Different score modes make the tool compute different scores, at different computational cost.

Use CoverageAndClutter and Coverage to get trustworthy scores that can be used to assess the quality of the match.

The score from ApproximateCoverage is faster but less trustworthy. It is not suitable for assessing the quality of the match. It is useful, e.g., when RunMode is RefineStartPose.

See Also