Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

utility.h File Reference

#include "../PageLayoutLib/objectPairClass.h"
#include "../PairVector_hm/pairshape.h"
#include "../ObjectVector_hm/objcluster.h"
#include "../Layout_hm/layout.h"
#include <string>
#include <deque>

Go to the source code of this file.

Defines

#define PAIR_GENERIC   0
#define PAIR_VECTOR_BOTH   1
#define SINGLE_VECTOR_BOTH   2
#define PAIR_VECTOR_WANTED   3
#define SINGLE_VECTOR_WANTED   4
#define PSV_N_1   1
#define PSV_N_2   0
#define FIRST_CENTROID   0
#define DYN_APPROXIMATED   1
#define KMEANS_MERGY   2
#define BEST_NEIGHBOR   0
#define NEAREST_NEIGHBOR   1
#define GAUSS_NEIGHBORHOOD   2

Typedefs

typedef deque< string > cstring_array

Functions

void FindFile (string path, char *file_attr, cstring_array *filearray)
int LoadTiffImageSet (cstring_array &retSet, string filefolder)
objectPairClassExtractObjPair (string fname, int maxNbTxline=128)
pairshape_cluster_listExtractObjPairVector (string fname, int style, int nline=128, int docID=0)
int MyCmp (const void *arg1, const void *arg2)
double BelongProb (objcluster *pClusters, int nCluster, Clayout *pTest)


Define Documentation

#define BEST_NEIGHBOR   0
 

#define DYN_APPROXIMATED   1
 

#define FIRST_CENTROID   0
 

#define GAUSS_NEIGHBORHOOD   2
 

#define KMEANS_MERGY   2
 

#define NEAREST_NEIGHBOR   1
 

#define PAIR_GENERIC   0
 

#define PAIR_VECTOR_BOTH   1
 

#define PAIR_VECTOR_WANTED   3
 

#define PSV_N_1   1
 

#define PSV_N_2   0
 

#define SINGLE_VECTOR_BOTH   2
 

#define SINGLE_VECTOR_WANTED   4
 


Typedef Documentation

typedef deque<string> cstring_array
 


Function Documentation

double BelongProb objcluster pClusters,
int  nCluster,
Clayout pTest
 

objectPairClass* ExtractObjPair string  fname,
int  maxNbTxline = 128
 

pairshape_cluster_list* ExtractObjPairVector string  fname,
int  style,
int  nline = 128,
int  docID = 0
 

void FindFile string  path,
char *  file_attr,
cstring_array filearray
 

int LoadTiffImageSet cstring_array retSet,
string  filefolder
 

int MyCmp const void *  arg1,
const void *  arg2
 


Generated on Tue Aug 29 11:42:40 2006 for PageLayoutDOCLIB by  doxygen 1.4.2