C# Class Ocronet.Dynamic.StdInput

Show file Open project: nickun/OCRonet Class Usage Examples

Public Methods

Method Description
FromBitmap ( Bitmap bm ) : StdInput
Get ( int y, int x ) : byte
GetDataBuffer ( ) : byte[]
Put ( int y, int x, byte value ) : void
StdInput ( Narray bytearray ) : System
StdInput ( Narray floatarray ) : System
StdInput ( byte buffer, int height, int width, bool invert = false ) : System
StdInput ( int height, int width ) : System
ToBytearray ( ) : Bytearray
ToFloatarray ( ) : Floatarray
ToString ( ) : string
this ( int y, int x ) : byte

Element subscripting.

Private Methods

Method Description
alloc_ ( int h, int w ) : void

allocate the elements of the array

Method Details

FromBitmap() public static method

public static FromBitmap ( Bitmap bm ) : StdInput
bm System.Drawing.Bitmap
return StdInput

Get() public method

public Get ( int y, int x ) : byte
y int
x int
return byte

GetDataBuffer() public method

public GetDataBuffer ( ) : byte[]
return byte[]

Put() public method

public Put ( int y, int x, byte value ) : void
y int
x int
value byte
return void

StdInput() public method

public StdInput ( Narray bytearray ) : System
bytearray Narray
return System

StdInput() public method

public StdInput ( Narray floatarray ) : System
floatarray Narray
return System

StdInput() public method

public StdInput ( byte buffer, int height, int width, bool invert = false ) : System
buffer byte
height int
width int
invert bool
return System

StdInput() public method

public StdInput ( int height, int width ) : System
height int
width int
return System

ToBytearray() public method

public ToBytearray ( ) : Bytearray
return Bytearray

ToFloatarray() public method

public ToFloatarray ( ) : Floatarray
return Floatarray

ToString() public method

public ToString ( ) : string
return string

this() public method

Element subscripting.
public this ( int y, int x ) : byte
y int
x int
return byte