#include "pieces.h"
#include "blobs.h"
#include "freelist.h"
#include "hideedge.h"
#include "matchtab.h"
#include "ndminx.h"
#include "plotseg.h"
#include "ratngs.h"
#include "wordclass.h"
#include "wordrec.h"
Namespaces | |
namespace | tesseract |
Defines | |
#define | set_bounds_entry(array, index, top_left, bot_right) |
#define | get_bounds_entry(array, index, top_left, bot_right) |
Functions | |
void | break_pieces (TBLOB *blobs, SEAMS seams, inT16 start, inT16 end) |
void | join_pieces (TBLOB *piece_blobs, SEAMS seams, inT16 start, inT16 end) |
void | hide_seam (SEAM *seam) |
void | hide_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |
void | reveal_seam (SEAM *seam) |
void | reveal_edge_pair (EDGEPT *pt1, EDGEPT *pt2) |
void | bounds_of_piece (BOUNDS_LIST bounds, inT16 start, inT16 end, TPOINT *extreme_tl, TPOINT *extreme_br) |
BOUNDS_LIST | record_blob_bounds (TBLOB *blobs) |
MATRIX * | record_piece_ratings (TBLOB *blobs) |
#define get_bounds_entry | ( | array, | |||
index, | |||||
top_left, | |||||
bot_right | ) |
((top_left) = (array)[index].topleft, \ (bot_right) = (array)[index].botright) \
#define set_bounds_entry | ( | array, | |||
index, | |||||
top_left, | |||||
bot_right | ) |
((array)[index].topleft = (top_left), \ (array)[index].botright = (bot_right)) \
void bounds_of_piece | ( | BOUNDS_LIST | bounds, | |
inT16 | start, | |||
inT16 | end, | |||
TPOINT * | extreme_tl, | |||
TPOINT * | extreme_br | |||
) |
void hide_seam | ( | SEAM * | seam | ) |
BOUNDS_LIST record_blob_bounds | ( | TBLOB * | blobs | ) |
void reveal_seam | ( | SEAM * | seam | ) |