类 Thinning
- java.lang.Object
-
- cc.chungkwong.mathocr.offline.preprocessor.SimplePreprocessor
-
- cc.chungkwong.mathocr.offline.preprocessor.Thinning
-
- 所有已实现的接口:
Preprocessor
public class Thinning extends SimplePreprocessor
- 作者:
- Chan Chung Kwong
-
-
构造器概要
构造器 构造器 说明 Thinning()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static voidmain(String[] args)voidpreprocess(byte[] from, byte[] to, int width, int height)Perform preprocess operationstatic voidthin(byte[] foreground, int width, int height)static voidthin(Bitmap bitmap)-
从类继承的方法 cc.chungkwong.mathocr.offline.preprocessor.SimplePreprocessor
apply
-
-
-
-
方法详细资料
-
thin
public static void thin(Bitmap bitmap)
-
thin
public static void thin(byte[] foreground, int width, int height)
-
main
public static void main(String[] args) throws IOException
- 抛出:
IOException
-
preprocess
public void preprocess(byte[] from, byte[] to, int width, int height)从类复制的说明:SimplePreprocessorPerform preprocess operation- 指定者:
preprocess在类中SimplePreprocessor- 参数:
from- pixel array of the input imageto- pixel array of the output imagewidth- width of the input imageheight- height of the input image
-
-