Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 73.0.0.0
Property Value
Type: DoubleThe confusion threshold. Default value is 1.0.
| 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. |
The confusion threshold is the highest score that something other than a valid pattern instance will receive. You specify a confusion threshold to indicate how confusing you expect the search image to be; the higher a value you specify, the more careful the the AcceptThreshold (which is the score above which all valid pattern instances lie).
The ConfusionThreshold must be greater than or equal to the AcceptThreshold. If this property is set to a value less than the AcceptThreshold, the AcceptThreshold is set to the new value.