C# Class TesseractTrainer.App_Code.ImageWriter

Exibir arquivo Open project: Early-Modern-OCR/FrankenPlus

Public Properties

Property Type Description
BaseName string
IMAGE byte[][]
LangName string
OutputPath string
SeriesNo int
TranscriptPath string
UnaccountedFor System.Collections.Generic.List
myFont App_Code.Font
mySubs App_Code.SubList

Public Methods

Method Description
AddBoxFileEntry ( int Xpos, int Ypos, int Width, int Height, string Char ) : void
AddGlyph ( App_Code G ) : void
ImageWriter ( BackgroundWorker &Slave, string &ProcessStatus, string LangName, string FontID, string TransPath, bool UseSubList ) : System
PlaceWord ( int WordWidth, int WordHeight ) : bool
StartNewTiff ( ) : void
WriteGlyphWord ( ) : void
WriteImage ( string ImagePath ) : void

Method Details

AddBoxFileEntry() public method

public AddBoxFileEntry ( int Xpos, int Ypos, int Width, int Height, string Char ) : void
Xpos int
Ypos int
Width int
Height int
Char string
return void

AddGlyph() public method

public AddGlyph ( App_Code G ) : void
G App_Code
return void

ImageWriter() public method

public ImageWriter ( BackgroundWorker &Slave, string &ProcessStatus, string LangName, string FontID, string TransPath, bool UseSubList ) : System
Slave System.ComponentModel.BackgroundWorker
ProcessStatus string
LangName string
FontID string
TransPath string
UseSubList bool
return System

PlaceWord() public method

public PlaceWord ( int WordWidth, int WordHeight ) : bool
WordWidth int
WordHeight int
return bool

StartNewTiff() public method

public StartNewTiff ( ) : void
return void

WriteGlyphWord() public method

public WriteGlyphWord ( ) : void
return void

WriteImage() public method

public WriteImage ( string ImagePath ) : void
ImagePath string
return void

Property Details

BaseName public_oe property

public string BaseName
return string

IMAGE public_oe property

public byte[][] IMAGE
return byte[][]

LangName public_oe property

public string LangName
return string

OutputPath public_oe property

public string OutputPath
return string

SeriesNo public_oe property

public int SeriesNo
return int

TranscriptPath public_oe property

public string TranscriptPath
return string

UnaccountedFor public_oe property

public List,System.Collections.Generic UnaccountedFor
return System.Collections.Generic.List

myFont public_oe property

public App_Code.Font myFont
return App_Code.Font

mySubs public_oe property

public App_Code.SubList mySubs
return App_Code.SubList