C# Class GrayBMP_File, VietOCR3.NET

Exibir arquivo Open project: nguyenq/VietOCR3.NET Class Usage Examples

Public Methods

Method Description
CreateGrayBitmapArray ( Image image ) : byte[]
CreateGrayBitmapFile ( Image Image, string Path ) : bool

Private Methods

Method Description
ConvertToGrayscale ( Image Source ) : byte[]

Convert the color pixels of Source image into a grayscale bitmap (raw data). Improved version by David Carta.

Copy_to_Index ( byte destination, byte source, int index ) : bool
create_palette ( ) : byte[]
create_parts ( Image img ) : void

Method Details

CreateGrayBitmapArray() static public method

static public CreateGrayBitmapArray ( Image image ) : byte[]
image Image
return byte[]

CreateGrayBitmapFile() static public method

static public CreateGrayBitmapFile ( Image Image, string Path ) : bool
Image Image
Path string
return bool