ccmain/matmatch.h

Go to the documentation of this file.
00001 
00020 #ifndef           MATMATCH_H
00021 #define           MATMATCH_H
00022 
00023 #include          "img.h"
00024 #include          "hosthplb.h"
00025 #include          "notdll.h"
00026 
00027 #define BINIM_BLACK 0
00028 #define BINIM_WHITE 1
00029 #define BAD_MATCH 9999.0
00030 
00033 extern BOOL_VAR_H (tessedit_display_mm, FALSE, "Display matrix matches");
00034 extern BOOL_VAR_H (tessedit_mm_debug, FALSE,
00035 "Print debug information for matrix matcher");
00036 extern INT_VAR_H (tessedit_mm_prototype_min_size, 3,
00037 "Smallest number of samples in a cluster for a prototype to be used");
00039 float matrix_match(  // returns match score
00040                    IMAGE *image1,
00041                    IMAGE *image2);
00042 float match1(  // returns match score
00043              IMAGE *image_w,
00044              IMAGE *image_n);
00045 void display_images(IMAGE *image_w, IMAGE *image_n, IMAGE *match_image); 
00046 WINDOW display_image(IMAGE *image,
00047                      const char *title,
00048                      INT32 x,
00049                      INT32 y,
00050                      BOOL8 wait);
00051 #endif

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