The minimum amount of contrast (in normalized image grey levels) that a
fragment must have, relative to the binarization threshold, in order to
be considered for possible inclusion in a character. See the comments
for ForegroundThresholdFrac() for the value of the binarization
threshold.
Namespace: Cognex.VisionPro.OCRMaxAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 69.0.0.0
Syntax
Property Value
Type: DoubleThe CharacterFragmentContrastThreshold value. The default value is 30.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if set to a value less than 0 or greater than System::Int32::MaxValue |
Remarks
Any character fragment with a contrast lower than this value is completely ignored for all further processing, as though that fragment had never been detected.
Stage: Fragment
See Also