tesseract-doxygen/training/commontraining.h File Reference

#include "oldlist.h"
#include "cluster.h"
#include "intproto.h"

Go to the source code of this file.

Classes

struct  LABELEDLISTNODE
struct  MERGE_CLASS_NODE

Defines

#define MAXNAMESIZE   80
#define MINSD_ANGLE   (1.0f / 64.0f)

Typedefs

typedef struct LABELEDLISTNODELABELEDLIST
typedef MERGE_CLASS_NODEMERGE_CLASS

Functions

void ParseArguments (int argc, char **argv)
char * GetNextFilename (int Argc, char **argv)
LABELEDLIST FindList (LIST List, char *Label)
LABELEDLIST NewLabeledList (const char *Label)
void WriteTrainingSamples (char *Directory, LIST CharList, const char *program_feature_type)
void FreeTrainingSamples (LIST CharList)
void FreeLabeledList (LABELEDLIST LabeledList)
void FreeLabeledClassList (LIST ClassListList)
CLUSTERERSetUpForClustering (LABELEDLIST CharSample, const char *program_feature_type)
LIST RemoveInsignificantProtos (LIST ProtoList, BOOL8 KeepSigProtos, BOOL8 KeepInsigProtos, int N)
void CleanUpUnusedData (LIST ProtoList)
void MergeInsignificantProtos (LIST ProtoList, const char *label, CLUSTERER *Clusterer, CLUSTERCONFIG *Config)
MERGE_CLASS FindClass (LIST List, char *Label)
MERGE_CLASS NewLabeledClass (char *Label)
void SetUpForFloat2Int (LIST LabeledClassList)
void Normalize (float *Values)
void FreeNormProtoList (LIST CharList)
void AddToNormProtosList (LIST *NormProtoList, LIST ProtoList, char *CharName)
int NumberOfProtos (LIST ProtoList, BOOL8 CountSigProtos, BOOL8 CountInsigProtos)
void allocNormProtos ()

Variables

BOOL8 ShowSignificantProtos
BOOL8 ShowInsignificantProtos
BOOL8 ShowAllSamples
CLUSTERCONFIG Config
FLOAT32 RoundingAccuracy
char CTFontName [MAXNAMESIZE]
char * Directory
const char * test_ch
const char * InputUnicharsetFile
const char * OutputUnicharsetFile
const char * InputFontInfoFile
UNICHARSET unicharset_training

Define Documentation

#define MAXNAMESIZE   80
#define MINSD_ANGLE   (1.0f / 64.0f)

Typedef Documentation

typedef struct LABELEDLISTNODE * LABELEDLIST

Function Documentation

void AddToNormProtosList ( LIST NormProtoList,
LIST  ProtoList,
char *  CharName 
)
void allocNormProtos (  ) 
void CleanUpUnusedData ( LIST  ProtoList  ) 
MERGE_CLASS FindClass ( LIST  List,
char *  Label 
)
LABELEDLIST FindList ( LIST  List,
char *  Label 
)
void FreeLabeledClassList ( LIST  ClassListList  ) 
void FreeLabeledList ( LABELEDLIST  LabeledList  ) 
void FreeNormProtoList ( LIST  CharList  ) 
void FreeTrainingSamples ( LIST  CharList  ) 
char* GetNextFilename ( int  Argc,
char **  argv 
)
void MergeInsignificantProtos ( LIST  ProtoList,
const char *  label,
CLUSTERER Clusterer,
CLUSTERCONFIG Config 
)
MERGE_CLASS NewLabeledClass ( char *  Label  ) 
LABELEDLIST NewLabeledList ( const char *  Label  ) 
void Normalize ( float *  Values  ) 
int NumberOfProtos ( LIST  ProtoList,
BOOL8  CountSigProtos,
BOOL8  CountInsigProtos 
)
void ParseArguments ( int  argc,
char **  argv 
)
LIST RemoveInsignificantProtos ( LIST  ProtoList,
BOOL8  KeepSigProtos,
BOOL8  KeepInsigProtos,
int  N 
)
CLUSTERER* SetUpForClustering ( LABELEDLIST  CharSample,
const char *  program_feature_type 
)
void SetUpForFloat2Int ( LIST  LabeledClassList  ) 

SetUpForFloat2Int

void WriteTrainingSamples ( char *  Directory,
LIST  CharList,
const char *  program_feature_type 
)

Variable Documentation

---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------

char CTFontName[MAXNAMESIZE]
char* Directory
const char* InputFontInfoFile
const char* InputUnicharsetFile
const char* OutputUnicharsetFile
const char* test_ch
Generated on Sun Jul 18 17:10:51 2010 for Tesseract by  doxygen 1.6.3