Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 69.0.0.0
Property Value
Type: DoubleThe acceptance threshold. Default value is 0.5.
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
| ICogChangedEvent Changed | Fires when both the acceptance threshold and the confusion threshold are changed. The following state flags may be affected:
|
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when you attempt to set this to a value less than 0 or greater than 1.0. |
You should supply an acceptance threshold value such that no actual instance of a pattern will receive a score less than the threshold. SearchMax assumes that any location in the search image which receives a value less than this threshold is not an actual instance of the pattern.
The ConfusionThreshold must be greater than or equal to the AcceptThreshold. If this property is set to a value greater than ConfusionThreshold, the ConfusionThreshold is set to the new value.