Cog3DAlignRunParams AcceptThreshold Property Cognex VisionPro
Gets or sets the acceptance threshold for the score of a result. Only instances of the pattern that receive scores greater than or equal to this threshold are reported as results. Valid range is from zero to one.

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

public double AcceptThreshold { get; set; }

Property Value

Type: Double
The acceptance threshold. Default value is 0.5.
Events

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

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than zero or greater than one.
Remarks

You should supply an acceptance threshold that is lower than the lowest score you ever expect to receive from a true instance of your pattern.

A Cog3DAlignResult is returned only if all of the following conditions are met:

See Also