类 StrokeWidthTransform.StrokeSpace
- java.lang.Object
-
- cc.chungkwong.mathocr.offline.StrokeWidthTransform.StrokeSpace
-
- 封闭类:
- StrokeWidthTransform
public static class StrokeWidthTransform.StrokeSpace extends Object
Space of stroke width
-
-
构造器概要
构造器 构造器 说明 StrokeSpace(byte[] direction, short[] thicknessH, short[] thicknessS, int width, int height)Create a space of stroke width
-
-
-
构造器详细资料
-
StrokeSpace
public StrokeSpace(byte[] direction, short[] thicknessH, short[] thicknessS, int width, int height)Create a space of stroke width- 参数:
direction- direction(bit or)thicknessH- thickness in horizontal or vertical directionthicknessS- thickness in throwing or pressing directionwidth- width of the imageheight- height of the image
-
-
方法详细资料
-
getDirection
public byte[] getDirection()
- 返回:
- direction(bit or)
-
getThicknessH
public short[] getThicknessH()
- 返回:
- thickness in horizontal or vertical direction
-
getThicknessS
public short[] getThicknessS()
- 返回:
- thickness in throwing or pressing direction
-
getWidth
public int getWidth()
- 返回:
- width of the image
-
getHeight
public int getHeight()
- 返回:
- height of the image
-
-