THybrid Binarizer .create Binarizer Method
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.
function createBinarizer(source: TLuminanceSource): TBinarizer
Parameters
- source
- Type: ZXing.LuminanceSource.TLuminanceSource
The LuminanceSource this Binarizer will operate on.