public final class HybridBinarizer extends GlobalHistogramBinarizer
构造器和说明 |
---|
HybridBinarizer(LuminanceSource source) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
getBlackRow
getHeight, getLuminanceSource, getWidth
public HybridBinarizer(LuminanceSource source)
public BitMatrix getBlackMatrix() throws NotFoundException
getBlackMatrix
在类中 GlobalHistogramBinarizer
NotFoundException
- if image can't be binarized to make a matrixpublic Binarizer createBinarizer(LuminanceSource source)
Binarizer
createBinarizer
在类中 GlobalHistogramBinarizer
source
- The LuminanceSource this Binarizer will operate on.