/home/rays/src/opensrc/tesseract-ocr/wordrec/gradechop.cpp File Reference

#include "gradechop.h"
#include "wordrec.h"
#include "olutil.h"
#include "chop.h"
#include "ndminx.h"
#include <math.h>

Namespaces

namespace  tesseract

Defines

#define CENTER_GRADE_CAP   25.0
#define find_bounds_loop(point1, point2, x_min, x_max)

Define Documentation

#define CENTER_GRADE_CAP   25.0
#define find_bounds_loop ( point1,
point2,
x_min,
x_max   ) 
Value:
x_min = point2->pos.x;                               \
        x_max = point2->pos.x;                               \
                                                                                                                                                \
        this_point = point1;                                 \
        do {                                                 \
                x_min = MIN (this_point->pos.x, x_min);           \
                x_max = MAX (this_point->pos.x, x_max);           \
                this_point = this_point->next;                    \
        }                                                    \
        while (this_point != point2 && this_point != point1) \
Generated on Thu Feb 2 08:19:23 2012 for Tesseract by  doxygen 1.6.3