public final class HybridBinarizer extends GlobalHistogramBinarizer
| Constructor and Description | 
|---|
| HybridBinarizer(LuminanceSource source) | 
| Modifier and Type | Method and Description | 
|---|---|
| Binarizer | createBinarizer(LuminanceSource source)Creates a new object with the same type as this Binarizer implementation, but with pristine
 state. | 
| BitMatrix | getBlackMatrix()Calculates the final BitMatrix once for all requests. | 
getBlackRowgetHeight, getLuminanceSource, getWidthpublic HybridBinarizer(LuminanceSource source)
public BitMatrix getBlackMatrix() throws NotFoundException
getBlackMatrix in class GlobalHistogramBinarizerNotFoundException - if image can't be binarized to make a matrixpublic Binarizer createBinarizer(LuminanceSource source)
BinarizercreateBinarizer in class GlobalHistogramBinarizersource - The LuminanceSource this Binarizer will operate on.Copyright © 2007–2018. All rights reserved.