C# Class VietOCR.NET.Utilities.gmseDeskew

Afficher le fichier Open project: nguyenq/VietOCR3.NET Class Usage Examples

Méthodes publiques

Méthode Description
GetAlpha ( int Index ) : double
GetSkewAngle ( ) : double
RotateImage ( Bitmap bmp, double angle ) : Bitmap
gmseDeskew ( Bitmap bmp ) : System.Drawing

Private Methods

Méthode Description
Calc ( ) : void
Calc ( int x, int y ) : void
CalcDIndex ( double d ) : double
GetTop ( int Count ) : HougLine[]
Init ( ) : void
IsBlack ( int x, int y ) : bool

Method Details

GetAlpha() public méthode

public GetAlpha ( int Index ) : double
Index int
Résultat double

GetSkewAngle() public méthode

public GetSkewAngle ( ) : double
Résultat double

RotateImage() public static méthode

public static RotateImage ( Bitmap bmp, double angle ) : Bitmap
bmp System.Drawing.Bitmap
angle double
Résultat System.Drawing.Bitmap

gmseDeskew() public méthode

public gmseDeskew ( Bitmap bmp ) : System.Drawing
bmp System.Drawing.Bitmap
Résultat System.Drawing