UBinarizer class abstract

Converts grayscale to 1-bit. Hybrid uses local thresholds so it survives uneven lighting; the global histogram path is used per-row for 1D symbols.

Constructors

UBinarizer()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

global(UGrayImage image) → UBitMatrix
globalThreshold(UGrayImage image) → int
Otsu-style two-peak estimate over a 32-bucket histogram.
hybrid(UGrayImage image) → UBitMatrix
rowThreshold(Uint8List row, int length) → int
Threshold for a single row of samples, used by the 1D readers.