tesseract-doxygen/ccmain/matmatch.cpp File Reference

#include "mfcpch.h"
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include "tessvars.h"
#include "stderr.h"
#include "img.h"
#include "hosthplb.h"
#include "scrollview.h"
#include "adaptions.h"
#include "matmatch.h"
#include "secname.h"
#include "svshowim.h"

Defines

#define EXTERN
#define BB_COLOUR   0
#define BW_COLOUR   1
#define WB_COLOUR   3
#define UB_COLOUR   5
#define BU_COLOUR   7
#define UU_COLOUR   9
#define WU_COLOUR   11
#define UW_COLOUR   13
#define WW_COLOUR   15
#define BINIM_BLACK   0
#define BINIM_WHITE   1

Functions

float matrix_match (IMAGE *image1, IMAGE *image2)
float match1 (IMAGE *image_w, IMAGE *image_n)
void display_images (IMAGE *image_w, IMAGE *image_n, IMAGE *match_image)
ScrollViewdisplay_image (IMAGE *image, const char *title, inT32 x, inT32 y, BOOL8 wait)

Variables

EXTERN bool tessedit_display_mm = FALSE
EXTERN bool tessedit_mm_debug = FALSE
EXTERN int tessedit_mm_prototype_min_size = 3

Define Documentation

#define BB_COLOUR   0
#define BINIM_BLACK   0
#define BINIM_WHITE   1
#define BU_COLOUR   7
#define BW_COLOUR   1
#define EXTERN
#define UB_COLOUR   5
#define UU_COLOUR   9
#define UW_COLOUR   13
#define WB_COLOUR   3
#define WU_COLOUR   11
#define WW_COLOUR   15

Function Documentation

ScrollView* display_image ( IMAGE image,
const char *  title,
inT32  x,
inT32  y,
BOOL8  wait 
)
void display_images ( IMAGE image_w,
IMAGE image_n,
IMAGE match_image 
)
float match1 ( IMAGE image_w,
IMAGE image_n 
)
float matrix_match ( IMAGE image1,
IMAGE image2 
)

Variable Documentation

EXTERN bool tessedit_display_mm = FALSE

"Display matrix matches"

EXTERN bool tessedit_mm_debug = FALSE

"Print debug information for matrix matcher"

"Smallest number of samples in a cluster for a prototype to be used"

Generated on Sun Jul 18 17:10:49 2010 for Tesseract by  doxygen 1.6.3