tesseract-doxygen/wordrec/gradechop.h File Reference

#include "seam.h"
#include "ndminx.h"

Go to the source code of this file.

Defines

#define partial_split_priority(split)
#define split_bounds_overlap(split, outline)

Typedefs

typedef inT16 BOUNDS_RECT [4]

Functions

PRIORITY full_split_priority (SPLIT *split, inT16 xmin, inT16 xmax)
PRIORITY grade_center_of_blob (register BOUNDS_RECT rect)
PRIORITY grade_overlap (register BOUNDS_RECT rect)
PRIORITY grade_split_length (register SPLIT *split)
PRIORITY grade_sharpness (register SPLIT *split)
PRIORITY grade_width_change (register BOUNDS_RECT rect)
void set_outline_bounds (register EDGEPT *point1, register EDGEPT *point2, BOUNDS_RECT rect)

Define Documentation

#define partial_split_priority ( split   ) 
Value:
(grade_split_length   (split) +      \
        grade_sharpness      (split))       \
#define split_bounds_overlap ( split,
outline   ) 
Value:
(outline->topleft.x  <= MAX (split->point1->pos.x,split->point2->pos.x) && \
        outline->botright.x >= MIN (split->point1->pos.x,split->point2->pos.x) && \
        outline->botright.y <= MAX (split->point1->pos.y,split->point2->pos.y) && \
        outline->topleft.y  >= MIN (split->point1->pos.y,split->point2->pos.y))

Typedef Documentation

typedef inT16 BOUNDS_RECT[4]

Function Documentation

PRIORITY full_split_priority ( SPLIT split,
inT16  xmin,
inT16  xmax 
)
PRIORITY grade_center_of_blob ( register BOUNDS_RECT  rect  ) 
PRIORITY grade_overlap ( register BOUNDS_RECT  rect  ) 
PRIORITY grade_sharpness ( register SPLIT split  ) 
PRIORITY grade_split_length ( register SPLIT split  ) 
PRIORITY grade_width_change ( register BOUNDS_RECT  rect  ) 
void set_outline_bounds ( register EDGEPT point1,
register EDGEPT point2,
BOUNDS_RECT  rect 
)
Generated on Sun Jul 18 17:10:52 2010 for Tesseract by  doxygen 1.6.3