CogOCVMaxParagraphIterator ConfusionThreshold Property Cognex VisionPro
Get or set the confusion threshold for this paragraph. Every paragraph builds a confusion matrix when it is trained. This two dimensional array has one dimension with as many elements as there are unique keys to be searched for within this paragraph - we will call these the search keys. The other dimension has as many elements as there are in the (current) alphabet - we will call these the alphabet keys. For any combination of search key and alphabet key there is an associated confusion value. That value indicates how confusable the two keys are, with values near one being very confusable (e.g. '5' and 'S') and values near zero being not confusable (e.g. '5' and '1'). The ConfusionThreshold property specifies the value below which other keys are not considered by the operator for confusion purposes. So, with a ConfusionThreshold of zero, all keys will be tried.

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

public double ConfusionThreshold { get; set; }

Property Value

Type: Double
This read/write property of type System::Double must be within the range of zero to one inclusive.
Events

Event TypeReason
CogOCVMaxPattern ParagraphChangedFires when this property changes, provides more detailed information than the Changed event.
CogOCVMaxPatternChangedFires when this property changes.
Exceptions

ExceptionCondition
InvalidOperationExceptionIf the associated CogOCVMaxPattern object does not recognize this iterator.
ObjectDisposedExceptionIf the associated CogOCVMaxPattern object has already been disposed.
ArgumentOutOfRangeExceptionIf you attempt to set this to a value less than zero or greater than one.
See Also