C# Class HistogramOCRTrainer.HistogramOCR.HistogramLetter

Show file Open project: andreigec/Word-Find-Solver

Public Methods

Method Description
DeSerialise ( string text ) : HistogramLetter

Des the serialise.

GetHistogram ( BitmapBoolArray bba, Bitmap b ) : int[]>.Tuple

Gets the histogram.

GetHistogramOffsetScore ( int xv, int yv ) : int

Gets the histogram offset score.

HistogramLetter ( Bitmap b, char letter ) : System

Initializes a new instance of the HistogramLetter class.

Serialise ( ) : string

Serialises this instance.

Private Methods

Method Description
HistogramLetter ( ) : System

Method Details

DeSerialise() public static method

Des the serialise.
public static DeSerialise ( string text ) : HistogramLetter
text string The text.
return HistogramLetter

GetHistogram() public static method

Gets the histogram.
public static GetHistogram ( BitmapBoolArray bba, Bitmap b ) : int[]>.Tuple
bba BitmapBoolArray The bba.
b System.Drawing.Bitmap The b.
return int[]>.Tuple

GetHistogramOffsetScore() public method

Gets the histogram offset score.
public GetHistogramOffsetScore ( int xv, int yv ) : int
xv int The xv.
yv int The yv.
return int

HistogramLetter() public method

Initializes a new instance of the HistogramLetter class.
public HistogramLetter ( Bitmap b, char letter ) : System
b System.Drawing.Bitmap The b.
letter char The letter.
return System

Serialise() public method

Serialises this instance.
public Serialise ( ) : string
return string