C# Class OCRSample.OCRTools

Mostrar archivo Open project: JhetoX/SkypeOCR Class Usage Examples

Public Methods

Method Description
darkness ( Bitmap bmp, int percent ) : Bitmap
deleteBitmap ( string fileImage, bool isJpeg ) : void
getBitmap ( IntPtr handle ) : Bitmap
getCurrentItem ( ) : System.Drawing.Bitmap[]
loadBitmap ( string fileImage ) : Bitmap
saveBitmap ( Bitmap bmp, string fileImage, bool isJpeg ) : void
toDilate ( Bitmap SrcImage ) : Bitmap
toGrayscale ( Bitmap original ) : Bitmap
toNegative ( Bitmap sourceimage ) : Bitmap

Private Methods

Method Description
captureSkypeList ( ) : Bitmap
cleanImage ( Bitmap bmp ) : Bitmap
cutSkypeList ( Bitmap list ) : Bitmap
divideItem ( Bitmap list ) : Bitmap
extractItem ( Bitmap list ) : Bitmap
extractPhoto ( Bitmap list ) : Bitmap
getFirstItemSkypeList ( Bitmap list ) : Bitmap
isEmptyBitmap ( Bitmap bmp ) : bool
resizeImage ( Bitmap bmp, Size size ) : Bitmap

Method Details

darkness() public static method

public static darkness ( Bitmap bmp, int percent ) : Bitmap
bmp System.Drawing.Bitmap
percent int
return System.Drawing.Bitmap

deleteBitmap() public static method

public static deleteBitmap ( string fileImage, bool isJpeg ) : void
fileImage string
isJpeg bool
return void

getBitmap() public static method

public static getBitmap ( IntPtr handle ) : Bitmap
handle System.IntPtr
return System.Drawing.Bitmap

getCurrentItem() public static method

public static getCurrentItem ( ) : System.Drawing.Bitmap[]
return System.Drawing.Bitmap[]

loadBitmap() public static method

public static loadBitmap ( string fileImage ) : Bitmap
fileImage string
return System.Drawing.Bitmap

saveBitmap() public static method

public static saveBitmap ( Bitmap bmp, string fileImage, bool isJpeg ) : void
bmp System.Drawing.Bitmap
fileImage string
isJpeg bool
return void

toDilate() public static method

public static toDilate ( Bitmap SrcImage ) : Bitmap
SrcImage System.Drawing.Bitmap
return System.Drawing.Bitmap

toGrayscale() public static method

public static toGrayscale ( Bitmap original ) : Bitmap
original System.Drawing.Bitmap
return System.Drawing.Bitmap

toNegative() public static method

public static toNegative ( Bitmap sourceimage ) : Bitmap
sourceimage System.Drawing.Bitmap
return System.Drawing.Bitmap