#include "oldlist.h"#include "efio.h"#include "emalloc.h"#include "featdefs.h"#include "tessopt.h"#include "ocrfeatures.h"#include "general.h"#include "clusttool.h"#include "cluster.h"#include "name2char.h"#include "matchdefs.h"#include <string.h>#include <stdio.h>#include <math.h>#include "unichar.h"#include "intproto.h"Defines | |
| #define | PROGRAM_FEATURE_TYPE "cn" |
| #define | MINSD (1.0f / 64.0f) |
Functions | |
| int | main (int argc, char **argv) |
| void | ReadTrainingSamples (FILE *File, LIST *TrainingSamples) |
| void | WriteNormProtos (char *Directory, LIST LabeledProtoList, CLUSTERER *Clusterer) |
| void | WriteProtos (FILE *File, uinT16 N, LIST ProtoList, BOOL8 WriteSigProtos, BOOL8 WriteInsigProtos) |
Variables | |
| int | row_number |
| CLUSTERCONFIG | Config |
| #define MINSD (1.0f / 64.0f) |
| #define PROGRAM_FEATURE_TYPE "cn" |
---------------------------------------------------------------------------- Include Files and Type Defines ----------------------------------------------------------------------------
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
---------------------------------------------------------------------------- Public Function Prototypes ----------------------------------------------------------------------------
---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------
| void ReadTrainingSamples | ( | FILE * | File, | |
| LIST * | TrainingSamples | |||
| ) |
---------------------------------------------------------------------------- Private Function Prototypes ----------------------------------------------------------------------------
---------------------------------------------------------------------------- Private Code ----------------------------------------------------------------------------
| void WriteProtos | ( | FILE * | File, | |
| uinT16 | N, | |||
| LIST | ProtoList, | |||
| BOOL8 | WriteSigProtos, | |||
| BOOL8 | WriteInsigProtos | |||
| ) |
{
elliptical, 0.025, 0.05, 0.8, 1e-3, 0
}
---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------
| int row_number |
1.6.3