classify/speckle.h

Go to the documentation of this file.
00001 
00019 #ifndef SPECKLE_H
00020 #define SPECKLE_H
00021 
00022 /* =================
00023           Include Files and Type Defines
00024  ==================== */
00025 #include "baseline.h"
00026 #include "choices.h"
00027 
00028 /* =================
00029             Macros
00030  ==================== */
00032 #define RowHeight(R) ((is_baseline_normalized ())?       \
00033          (BASELINE_SCALE):          \
00034          ((R)->lineheight))
00035 
00036 /* =================
00037           Public Function Prototypes
00038  ==================== */
00039 LIST AddLargeSpeckleTo(LIST Choices); 
00040 
00041 void InitSpeckleVars(); 
00042 
00043 BOOL8 LargeSpeckle(TBLOB *Blob, TEXTROW *Row); 
00044 
00045 /*
00046 #if defined(__STDC__) || defined(__cplusplus)
00047 # define        _ARGS(s) s
00048 #else
00049 # define        _ARGS(s) ()
00050 #endif*/
00051 
00052 /* speckle.c
00053 LIST AddLargeSpeckleTo
00054     _ARGS((LIST Choices));
00055 
00056 void InitSpeckleVars
00057     _ARGS((void));
00058 
00059 BOOL8 LargeSpeckle
00060     _ARGS((BLOB *Blob,
00061   TEXTROW *Row));
00062 
00063 #undef _ARGS
00064 */
00065 /* =================
00066         Global Data Definitions and Declarations
00067  ==================== */
00068 extern float SmallSpecklePenalty;
00069 extern float SmallSpeckleCertainty;
00070 #endif

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