public class Thinning extends SimplePreprocessor
| 构造器和说明 |
|---|
Thinning() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args) |
void |
preprocess(byte[] from,
byte[] to,
int width,
int height)
Perform preprocess operation
|
static void |
thin(Bitmap bitmap) |
static void |
thin(byte[] foreground,
int width,
int height) |
applypublic static void thin(Bitmap bitmap)
public static void thin(byte[] foreground,
int width,
int height)
public static void main(String[] args) throws IOException
IOExceptionpublic 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.