Method | Description | |
---|---|---|
GlobalHistogramBinarizer ( LuminanceSource source ) |
Initializes a new instance of the GlobalHistogramBinarizer class.
|
|
createBinarizer ( LuminanceSource source ) : Binarizer |
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.
|
|
getBlackRow ( int y, |
Applies simple sharpening to the row data to improve performance of the 1D Readers.
|
Method | Description | |
---|---|---|
estimateBlackPoint ( int buckets, int &blackPoint ) : bool | ||
initArrays ( int luminanceSize ) : void |
public GlobalHistogramBinarizer ( LuminanceSource source ) | ||
source | LuminanceSource | The source. |
public createBinarizer ( LuminanceSource source ) : Binarizer | ||
source | LuminanceSource | The LuminanceSource this Binarizer will operate on. |
return | Binarizer |
public getBlackRow ( int y, |
||
y | int | |
row | ||
return |