Assembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Property Value
Type: Double| Event Type | Reason |
|---|---|
| CogCNLSearchRunParams Changed | Fires when the confusion threshold is changed. The following state flag may be affected: |
| CogCNLSearchRunParams Changed | Fires when both the accept threshold and the confusion threshold are changed. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is less than 0.0 or greater than 1.0. |
The confusion threshold. 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 tool is. The Confusion threshold must be greater than or equal to 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.
The following diagram summarizes the relationship between the Accept and Confusion thresholds. Keep in mind that you supply these thresholds to help the tool find the trained pattern as quickly and reliably as possible; you use these thresholds to provide information about the search image.
Default Value: 0.5