Package com.recognition.software.jdeskew
Class ImageDeskew
java.lang.Object
com.recognition.software.jdeskew.ImageDeskew
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Representation of a line in the image. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getAlpha
(int index) double
Calculates the skew angle of the image cImage.
-
Constructor Details
-
ImageDeskew
Constructor.- Parameters:
image
- input image
-
-
Method Details
-
getSkewAngle
public double getSkewAngle()Calculates the skew angle of the image cImage.- Returns:
- the skew angle
-
getAlpha
public double getAlpha(int index)
-