public abstract class SimplePreprocessor extends Object implements Preprocessor
| 构造器和说明 |
|---|
SimplePreprocessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
BufferedImage |
apply(BufferedImage image,
boolean inplace)
Perform preprocess operation
|
abstract void |
preprocess(byte[] from,
byte[] to,
int width,
int height)
Perform preprocess operation
|
public BufferedImage apply(BufferedImage image, boolean inplace)
apply 在接口中 Preprocessorimage - input imageinplace - attempt to reuse input image or notpublic abstract void preprocess(byte[] from,
byte[] to,
int width,
int height)
from - 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.