THybridBinarizer Class

Definition

Delphi
type THybridBinarizer = class(TGlobalHistogramBinarizer)
Inheritance
TObject
THybridBinarizer

Constructors

Properties

Height (Inherited from TBinarizer)
Width (Inherited from TBinarizer)

Methods

BinarizeEntireImage
BlackMatrix
GetBlackRow(Integer, IBitArray) (Inherited from TGlobalHistogramBinarizer)
LuminanceSource (Inherited from TBinarizer)
calculateBlackPoints(TArray<Byte>, Integer, Integer, Integer, Integer)
calculateThresholdForBlock(TArray<Byte>, Integer, Integer, Integer, Integer, TArray<TArray<Integer>>, TBitMatrix)
cap(Integer, Integer, Integer)
createBinarizer(TLuminanceSource)

Creates a new object with the same type as this Binarizer implementation, but with pristine state. This is needed because Binarizer implementations may be stateful, e.g. keeping a cache of 1 bit data. See Effective Java for why we can't use Java's clone() method.

thresholdBlock(TArray<Byte>, Integer, Integer, Integer, Integer, TBitMatrix)

Fields