classify/float2int.h

Go to the documentation of this file.
00001 
00020 #ifndef FLOAT2INT_H
00021 #define FLOAT2INT_H
00022 
00023 /* =================
00024           Include Files and Type Defines
00025  ==================== */
00026 #include "intmatcher.h"
00027 #include "ocrfeatures.h"
00028 
00030 #define INT_FEAT_RANGE    256
00031 
00032 #define BASELINE_Y_SHIFT  (0.25)
00033 
00034 /* =================
00035           Public Function Prototypes
00036  ==================== */
00037 void ClearCharNormArray(INT_TEMPLATES Templates,
00038                         CLASS_NORMALIZATION_ARRAY CharNormArray);
00039 
00040 void ComputeIntCharNormArray(FEATURE NormFeature,
00041                              INT_TEMPLATES Templates,
00042                              CLASS_NORMALIZATION_ARRAY CharNormArray);
00043 
00044 void ComputeIntFeatures(FEATURE_SET Features, INT_FEATURE_ARRAY IntFeatures); 
00045 
00046 /*
00047 #if defined(__STDC__) || defined(__cplusplus)
00048 # define        _ARGS(s) s
00049 #else
00050 # define        _ARGS(s) ()
00051 #endif*/
00052 
00053 /* float2int.c
00054 void ClearCharNormArray
00055     _ARGS((INT_TEMPLATES Templates,
00056   CLASS_NORMALIZATION_ARRAY CharNormArray));
00057 
00058 void ComputeIntCharNormArray
00059     _ARGS((FEATURE NormFeature,
00060   INT_TEMPLATES Templates,
00061   CLASS_NORMALIZATION_ARRAY CharNormArray));
00062 
00063 void ComputeIntFeatures
00064     _ARGS((FEATURE_SET Features,
00065   INT_FEATURE_ARRAY IntFeatures));
00066 
00067 #undef _ARGS
00068 */
00069 #endif

Generated on Wed Feb 28 19:49:10 2007 for Tesseract by  doxygen 1.5.1