类 OtsuBinarizer
- java.lang.Object
-
- cc.chungkwong.mathocr.offline.preprocessor.SimplePreprocessor
-
- cc.chungkwong.mathocr.offline.preprocessor.GlobalBinarizer
-
- cc.chungkwong.mathocr.offline.preprocessor.OtsuBinarizer
-
- 所有已实现的接口:
Preprocessor
public class OtsuBinarizer extends GlobalBinarizer
- 作者:
- Chan Chung Kwong
-
-
构造器概要
构造器 构造器 说明 OtsuBinarizer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected intgetThrehold(byte[] pixels)Get the threhold value-
从类继承的方法 cc.chungkwong.mathocr.offline.preprocessor.GlobalBinarizer
preprocess
-
从类继承的方法 cc.chungkwong.mathocr.offline.preprocessor.SimplePreprocessor
apply
-
-
-
-
方法详细资料
-
getThrehold
protected int getThrehold(byte[] pixels)
Get the threhold value- 指定者:
getThrehold在类中GlobalBinarizer- 参数:
pixels- pixel array of the image- 返回:
- the threhold value
-
-