CogOCVMaxPattern ScoreMode Property Cognex VisionPro
Gets or sets the mode used to compute the score for each character.

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

public CogOCVMaxScoreModeConstants ScoreMode { get; set; }

Property Value

Type: CogOCVMaxScoreModeConstants
The mode used to compute the score for each character.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
Remarks

When the mode is ScoreUsingClutter, the score is reduces if extra features (clutter) are present.

When the mode is ScoreUsingOptimizedClutter, the score is reduced if extra features are present, but the score is optimized for relatively low-contrast clutter.

When the mode is ScoreWithoutClutter, the score is based only on the presence of expected features and any extra features (clutter) are ignored.

ScoreUsingClutter is usually preferable to allow confusion to be computed more reliable. However, ScoreWithoutClutter may be necessary in noisy images.

See Also