public class FixedBinarizer extends SimplePreprocessor
| 构造器和说明 |
|---|
FixedBinarizer() |
FixedBinarizer(int threhold) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
getThrehold(byte[] pixels) |
void |
preprocess(byte[] from,
byte[] to,
int width,
int height)
Perform preprocess operation
|
applyprotected int getThrehold(byte[] pixels)
public void preprocess(byte[] from,
byte[] to,
int width,
int height)
SimplePreprocessorpreprocess 在类中 SimplePreprocessorfrom - pixel array of the input imageto - pixel array of the output imagewidth - width of the input imageheight - height of the input imageCopyright © 2019. All rights reserved.