TBinarizer Class
This class hierarchy provides a set of methods to convert luminance data to 1 bit data.
It allows the algorithm to vary polymorphically, for example allowing a very expensive
thresholding technique for servers and a fast one for mobile. It also permits the implementation
to vary, e.g. a JNI version for Android and a Java fallback version for other platforms.
The TBinarizer type exposes the following members.
Show:
Name | Description | |
---|---|---|
![]() | BlackMatrix | |
![]() | GetBlackRow | |
![]() | LuminanceSource | |
![]() | createBinarizer | 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. |